{ "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 }
constAVOptionff_rtsp_options[]={
{"initial_pause","Don't start playing the stream immediately",OFFSET(initial_pause),AV_OPT_TYPE_INT,{.i64=0},0,1,DEC},
{"min_port","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},
{"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},
RTSP_REORDERING_OPTS(),
{NULL},
};
staticconstAVOptionsdp_options[]={
RTSP_FLAG_OPTS("sdp_flags","SDP flags"),
RTSP_MEDIATYPE_OPTS("allowed_media_types","Media types to accept from the server"),
RTSP_REORDERING_OPTS(),
{NULL},
};
staticconstAVOptionrtp_options[]={
RTSP_FLAG_OPTS("rtp_flags","RTP flags"),
RTSP_REORDERING_OPTS(),
{NULL},
};
...
...
@@ -607,6 +613,13 @@ int ff_rtsp_open_transport_ctx(AVFormatContext *s, RTSPStream *rtsp_st)