Add "prefer_tcp" flag to "rtsp_flags"

If set, and if TCP is available as RTSP RTP transport, then TCP will be
tried first as RTP transport.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Andrey Utkin
2014-03-04 15:43:59 +02:00
committed by Michael Niedermayer
parent 206167a295
commit bc764d786f
3 changed files with 8 additions and 0 deletions

View File

@@ -733,6 +733,8 @@ The following values are accepted:
Accept packets only from negotiated peer address and port.
@item listen
Act as a server, listening for an incoming connection.
@item prefer_tcp
Try TCP for RTP transport first, if TCP is available as RTSP RTP transport.
@end table
Default value is @samp{none}.