summaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.h
Commit message (Collapse)AuthorAgeFilesLines
* doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-121-2/+2
|
* rtsp: add allowed_media_types optionJohn Brooks2011-11-021-0/+5
| | | | | | | | Streams from RTSP or SDP that do not match an allowed type will be skipped entirely, which allows video-only or audio-only streaming from servers that provide both. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Remove the separate filter_source variableMartin Storsjö2011-10-171-4/+0
| | | | | | Read it as a flag from the flags field instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Accept options via private avoptions instead of URL optionsMartin Storsjö2011-10-171-1/+13
| | | | | | | | | | | | Eventually, the old way of passing options by adding stuff to the URL can be dropped. This avoids having to tamper with the user-specified URL to pass options on the transport mode. This also works better with redirects, since the options don't need to be parsed out from the URL. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Merge the AVOption listsMartin Storsjö2011-10-171-0/+3
| | | | | | | | This eases adding options that are common for both. The AV_OPT_FLAG_EN/DECODING_PARAM still indicates whether they belong to the muxer or demuxer. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Parse the x-Accept-Dynamic-Rate headerMartin Storsjö2011-10-121-0/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: remove disabled codeDiego Biurrun2011-07-181-3/+0
|
* doxygen: Make sure parameter names match between .c and .h files.Diego Biurrun2011-07-141-2/+2
|
* RTSP: Doxygen comment cleanupDiego Biurrun2011-07-031-2/+4
| | | | | Do not use Doxygen for comments that apply to specific implementation details; merge some duplicated Doxygen comment blocks.
* rtspenc: Add RTP muxer optionsMartin Storsjö2011-06-101-0/+5
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtspdec: add initial_pause private option.Anton Khirnov2011-05-271-0/+8
| | | | Deprecate corresponding AVFormatParameters field.
* rtsp: Only do keepalive using GET_PARAMETER if the server supports itMartin Storsjö2011-05-111-0/+5
| | | | | | | | | | | | | | | | This is more like what VLC does. If the server doesn't mention supporting GET_PARAMETER in response to an OPTIONS request, VLC doesn't send any keepalive requests at all. After this patch, libavformat will still send OPTIONS keepalives if GET_PARAMETER isn't explicitly said to be supported. Some RTSP cameras don't support GET_PARAMETER, and will close the connection if this is sent as keepalive request (but support OPTIONS just fine, but probably don't need any keepalive at all). Some other cameras don't support using OPTIONS as keepalive, but require GET_PARAMETER instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-201-2/+2
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* os: replace select with pollLuca Barbato2011-01-281-0/+5
| | | | | Select has limitations on the fd values it could accept and silently breaks when it is reached.
* Make ff_rtsp_send_cmd_with_content_async static to rtsp.c.Diego Elio Pettenò2011-01-251-18/+0
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* rtspdec: Retry with TCP if UDP failedMartin Storsjö2011-01-241-0/+13
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* rtsp: Split out a function undoing the setup made by ff_rtsp_make_setup_requestMartin Storsjo2011-01-241-0/+6
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* rtsp: Make make_setup_request a nonstatic functionMartin Storsjo2011-01-241-0/+7
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* rtsp: Allow requesting of filtering of source packetsMartin Storsjö2011-01-061-0/+4
| | | | | | | | | | | | | | | | | If filtered, only packets from the right source address and port are received. To test, play back e.g. some mpeg4 video RTSP stream (where the video stream is the first stream in the presentation) over UDP. While receiving this stream, send another stream to the same port: ffmpeg -re -i <whatever> -vcodec mpeg4 -an -f rtp rtp://127.0.0.1:5000?localport=1234 Normally, the RTSP playback reports lots of errors at this point. If the RTSP stream has the ?filter_src option enabled, these interferring packets are ignored. Originally committed as revision 26246 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Store the Content-Base header value straight to the targetMartin Storsjö2011-01-021-4/+0
| | | | | | | This avoids having a large temporary buffer in the struct used for storing the rtsp reply headers. Originally committed as revision 26192 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Pass the method name to ff_rtsp_parse_lineMartin Storsjö2011-01-021-1/+1
| | | | Originally committed as revision 26191 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Pass RTSPState to ff_rtsp_parse_line, instead of HTTPAuthStateMartin Storsjö2011-01-021-1/+1
| | | | | | | | This allows ff_rtsp_parse_line to do more changes directly in RTSPState when parsing the reply, instead of having to store large amounts of temporary data in RTSPMessageHeader. Originally committed as revision 26190 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Add a method parameter to ff_rtsp_read_replyMartin Storsjö2011-01-021-1/+3
| | | | Originally committed as revision 26189 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Parse and use the Content-Base reply header, if presentMartin Storsjö2010-11-151-0/+4
| | | | | | This fixes playing RTSP urls with query parameters. Originally committed as revision 25755 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Split out the RTSP demuxer functions to a separate, new fileMartin Storsjö2010-10-291-0/+24
| | | | Originally committed as revision 25601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Move rtsp_setup_output_streams into rtspenc.cMartin Storsjö2010-10-291-0/+6
| | | | Originally committed as revision 25600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* drop rtsp_default_protocols which is not part of public API and not used anymoreAurelien Jacobs2010-10-231-3/+0
| | | | Originally committed as revision 25557 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Remove the start_time field from RTSPState, use ↵Martin Storsjö2010-10-081-3/+0
| | | | | | AVFormatContext->start_time_realtime instead Originally committed as revision 25408 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Use a dynamically allocated receive bufferMartin Storsjö2010-10-011-0/+3
| | | | Originally committed as revision 25288 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Send NAT punching messages to the address specified in the Transport:John Wimer2010-09-031-0/+1
| | | | | | | | message, if available (RFC 2326, section 12.39), fixes issue 2212. Patch by John Wimer <john at god vtic net>. Originally committed as revision 25032 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Return AVERROR_EOF when all streams have received an RTCP BYE packetJosh Allmann2010-08-291-0/+5
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle IPv6 in the RTSP codeMartin Storsjö2010-08-251-1/+1
| | | | Originally committed as revision 24925 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle IPv6 in the SDP demuxerMartin Storsjö2010-08-251-1/+1
| | | | Originally committed as revision 24924 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get rid of MAX_STREAMS limit in RTSPAurelien Jacobs2010-08-091-1/+5
| | | | Originally committed as revision 24752 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Preserve status reasonLuca Barbato2010-08-061-0/+5
| | | | | | It is used to provide meaningful error messages. Originally committed as revision 24714 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP, rtpdec: Move RTPPayloadData into rtpdec_mpeg4 and remove all ↵Josh Allmann2010-06-251-5/+0
| | | | | | | | references to rtp_payload_data in rtpdec and rtsp Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23772 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Change connexion to connection in code commentsMartin Storsjö2010-06-141-1/+1
| | | | Originally committed as revision 23601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RTSP tunneling over HTTPJosh Allmann2010-06-081-0/+12
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail dot com Originally committed as revision 23536 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Reindent/align/wrapMartin Storsjö2010-06-051-13/+13
| | | | Originally committed as revision 23498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Propagate errors up from ff_rtsp_send_cmd*Josh Allmann2010-06-051-4/+8
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Add a second URLContext for outgoing messagesJosh Allmann2010-06-051-0/+11
| | | | | | | Done in preparation for RTSP over HTTP. Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change default number of channels (used if unspecified in the format desc)Ronald S. Bultje2010-06-011-1/+1
| | | | | | | | from 2 to 1, which is the actual value used in the spec. Fixes issue1978. Path by John Wimer <john at god dot vtic dot net>. Originally committed as revision 23414 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace @returns by @return.Benoit Fouet2010-03-301-2/+2
| | | | Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Actually parse the auth headers in RTSPMartin Storsjö2010-03-251-1/+2
| | | | Originally committed as revision 22677 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make RTSP use the generic http authentication codeMartin Storsjö2010-03-251-2/+6
| | | | | | Still hardcoded to use Basic auth, without parsing the reply headers Originally committed as revision 22676 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add separate method/url parameters to the rtsp_send_cmd functionsMartin Storsjö2010-03-251-6/+14
| | | | Originally committed as revision 22675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make rtsp_skip_packet non-static, add ff prefixMartin Storsjö2010-03-151-0/+5
| | | | Originally committed as revision 22547 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Synchronize the start time of the chained RTP muxersMartin Storsjö2010-03-151-0/+3
| | | | | | | | This makes sure that the streams get correctly synchronized when viewed, previously the streams were out of sync by as much time as it took between the initialization of the individual muxers. Originally committed as revision 22545 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: reindentMartin Storsjö2010-02-231-11/+11
| | | | Originally committed as revision 21995 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud