The "timeout" option name inherently clashes with the meaning of the
HTTP libavformat protocol option with the same name. Rename it after a
deprecation period to make it compatible with the HTTP one.
RTSP_MEDIATYPE_OPTS("allowed_media_types","set media types to accept from the server"),
RTSP_MEDIATYPE_OPTS("allowed_media_types","set media types to accept from the server"),
{"min_port","set 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","set 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","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},
{"listen_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},
#if FF_API_OLD_RTSP_OPTIONS
{"timeout","set maximum timeout (in seconds) to wait for incoming connections (-1 is infinite, imply flag listen) (deprecated, use listen_timeout)",OFFSET(initial_timeout),AV_OPT_TYPE_INT,{.i64=-1},INT_MIN,INT_MAX,DEC},
{"stimeout","set timeout (in microseconds) of socket TCP I/O operations",OFFSET(stimeout),AV_OPT_TYPE_INT,{.i64=0},INT_MIN,INT_MAX,DEC},
{"stimeout","set timeout (in microseconds) of socket TCP I/O operations",OFFSET(stimeout),AV_OPT_TYPE_INT,{.i64=0},INT_MIN,INT_MAX,DEC},
#else
{"timeout","set timeout (in microseconds) of socket TCP I/O operations",OFFSET(stimeout),AV_OPT_TYPE_INT,{.i64=0},INT_MIN,INT_MAX,DEC},