{ "reorder_queue_size", "Number of packets to buffer for handling of reordered packets", OFFSET(reordering_queue_size), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, DEC }
{ "reorder_queue_size", "set number of packets to buffer for handling of reordered packets", OFFSET(reordering_queue_size), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, DEC }
constAVOptionff_rtsp_options[]={
constAVOptionff_rtsp_options[]={
{"initial_pause","Don't start playing the stream immediately",OFFSET(initial_pause),AV_OPT_TYPE_INT,{.i64=0},0,1,DEC},
{"initial_pause","do not start playing the stream immediately",OFFSET(initial_pause),AV_OPT_TYPE_INT,{.i64=0},0,1,DEC},
FF_RTP_FLAG_OPTS(RTSPState,rtp_muxer_flags),
FF_RTP_FLAG_OPTS(RTSPState,rtp_muxer_flags),
{"rtsp_transport","RTSP transport protocols",OFFSET(lower_transport_mask),AV_OPT_TYPE_FLAGS,{.i64=0},INT_MIN,INT_MAX,DEC|ENC,"rtsp_transport"}, \
{"rtsp_transport","set RTSP transport protocols",OFFSET(lower_transport_mask),AV_OPT_TYPE_FLAGS,{.i64=0},INT_MIN,INT_MAX,DEC|ENC,"rtsp_transport"}, \
{"listen","Wait for incoming connections",0,AV_OPT_TYPE_CONST,{.i64=RTSP_FLAG_LISTEN},0,0,DEC,"rtsp_flags"},
{"listen","wait for incoming connections",0,AV_OPT_TYPE_CONST,{.i64=RTSP_FLAG_LISTEN},0,0,DEC,"rtsp_flags"},
RTSP_MEDIATYPE_OPTS("allowed_media_types","Media types to accept from the server"),
RTSP_MEDIATYPE_OPTS("allowed_media_types","set media types to accept from the server"),
{"min_port","Minimum local UDP port",OFFSET(rtp_port_min),AV_OPT_TYPE_INT,{.i64=RTSP_RTP_PORT_MIN},0,65535,DEC|ENC},
{"min_port","set minimum local UDP port",OFFSET(rtp_port_min),AV_OPT_TYPE_INT,{.i64=RTSP_RTP_PORT_MIN},0,65535,DEC|ENC},
{"max_port","Maximum local UDP port",OFFSET(rtp_port_max),AV_OPT_TYPE_INT,{.i64=RTSP_RTP_PORT_MAX},0,65535,DEC|ENC},
{"max_port","set maximum local UDP port",OFFSET(rtp_port_max),AV_OPT_TYPE_INT,{.i64=RTSP_RTP_PORT_MAX},0,65535,DEC|ENC},
{"timeout","Maximum timeout (in seconds) to wait for incoming connections. -1 is infinite. Implies flag listen",OFFSET(initial_timeout),AV_OPT_TYPE_INT,{.i64=-1},INT_MIN,INT_MAX,DEC},
{"timeout","set maximum timeout (in seconds) to wait for incoming connections (-1 is infinite, imply flag listen)",OFFSET(initial_timeout),AV_OPT_TYPE_INT,{.i64=-1},INT_MIN,INT_MAX,DEC},
{"stimeout","timeout (in micro seconds) of socket i/o operations.",OFFSET(stimeout),AV_OPT_TYPE_INT,{.i64=0},INT_MIN,INT_MAX,DEC},
{"stimeout","set timeout (in micro seconds) of socket TCP I/O operations",OFFSET(stimeout),AV_OPT_TYPE_INT,{.i64=0},INT_MIN,INT_MAX,DEC},
{"rtcp_to_source","Send RTCP packets to the source address of received packets",0,AV_OPT_TYPE_CONST,{.i64=RTSP_FLAG_RTCP_TO_SOURCE},0,0,DEC,"rtsp_flags"},
{"rtcp_to_source","send RTCP packets to the source address of received packets",0,AV_OPT_TYPE_CONST,{.i64=RTSP_FLAG_RTCP_TO_SOURCE},0,0,DEC,"rtsp_flags"},
RTSP_MEDIATYPE_OPTS("allowed_media_types","Media types to accept from the server"),
RTSP_MEDIATYPE_OPTS("allowed_media_types","set media types to accept from the server"),