summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
Commit message (Collapse)AuthorAge
* Handle IPv6 in the RTSP codeMartin Storsjö2010-08-25
| | | | Originally committed as revision 24925 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle IPv6 in the SDP demuxerMartin Storsjö2010-08-25
| | | | Originally committed as revision 24924 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Return EOF if the TCP control channel is closedMartin Storsjö2010-08-25
| | | | Originally committed as revision 24920 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Send OPTIONS request at a regular basis to standard RTSP servers as well,Ronald S. Bultje2010-08-12
| | | | | | | | | this prevents a time-out which closes the TCP connection and kills our session. see "Re: [FFmpeg-devel] [PATCH] rtsp.c: keep-alive" thread on mailinglist. Originally committed as revision 24785 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get rid of MAX_STREAMS limit in RTSPAurelien Jacobs2010-08-09
| | | | Originally committed as revision 24752 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix spelling in comment(s)Reinhard Tartler2010-08-07
| | | | Originally committed as revision 24737 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RTP packetization of Theora and VorbisJosh Allmann2010-08-07
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Preserve status reasonLuca Barbato2010-08-06
| | | | | | It is used to provide meaningful error messages. Originally committed as revision 24714 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove mostly unnecessary rtpdec_*.h files, store the declarations in one fileMartin Storsjö2010-07-30
| | | | Originally committed as revision 24596 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Move the definition of SDP_MAX_SIZE up, use it in the RTSP muxer, tooMartin Storsjö2010-07-28
| | | | Originally committed as revision 24571 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Zero-initialize structs/arrays with {0} instead of {}, which isn't proper C99Axel Holzinger2010-07-21
| | | | | | Patch by Axel Holzinger, aholzinger at gmx dot de Originally committed as revision 24391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Report when a method gets an error status codeLuca Barbato2010-07-12
| | | | | | | That makes easier understand what went wrong. In debug mode the whole reply gets printed. Originally committed as revision 24212 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_url_split() publicMåns Rullgård2010-06-27
| | | | | | | ff_url_split() is retained as an alias, as it was used by ffserver, to avoid breaking ABI compatibility with it. Originally committed as revision 23822 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP, rtpdec: Move RTPPayloadData into rtpdec_mpeg4 and remove all ↵Josh Allmann2010-06-25
| | | | | | | | 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
* RTSP: Move more SDP/FMTP stuff from rtsp.c to rtpdec_mpeg4.cJosh Allmann2010-06-25
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23770 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Decouple MPEG-4 and AAC specific parts from rtsp.cJosh Allmann2010-06-25
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23769 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Remove skip_spaces in favor of strspnJosh Allmann2010-06-25
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23768 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the http protocol open the connection immediately in http_open againMartin Storsjö2010-06-22
| | | | | | | Also make the RTSP protocol use url_alloc and url_connect instead of relying on the delay open behaviour. Originally committed as revision 23710 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Use the same authentication for the HTTP POST session as for the GETMartin Storsjö2010-06-21
| | | | Originally committed as revision 23686 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Add the auth credentials to the HTTP tunnel URL, tooMartin Storsjö2010-06-19
| | | | Originally committed as revision 23651 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Set the connection handles to null after closing themMartin Storsjö2010-06-19
| | | | | | This fixes a potential issue when doing redirects. Originally committed as revision 23649 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Don't store the connection handles in local variablesJosh Allmann2010-06-19
| | | | | | | | This removes some useless copying of handles, and simplifies error handling. Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23648 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Clean up rtsp_hd on failureMartin Storsjö2010-06-18
| | | | | | | Since rtsp_hd isn't assigned to rt->rtsp_hd until after the setup phase, the initialized URLContext could be leaked on failures. Originally committed as revision 23643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Change connexion to connection in code commentsMartin Storsjö2010-06-14
| | | | Originally committed as revision 23601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Shrink SDP fmtp parsing buffer sizeJosh Allmann2010-06-14
| | | | | | | | | | Since the parsing of Vorbis/Theora fmtp headers is handled by the parse_sdp_a_line function pointer now, the buffer in sdp_parse_fmtp doesn't need to be this large any longer. Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23599 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentJosh Allmann2010-06-14
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23598 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RTSP tunneling over HTTPJosh Allmann2010-06-08
| | | | | | 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-05
| | | | Originally committed as revision 23498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Propagate errors up from ff_rtsp_send_cmd*Josh Allmann2010-06-05
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused local variablesMartin Storsjö2010-06-05
| | | | Originally committed as revision 23496 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTSP: Add a second URLContext for outgoing messagesJosh Allmann2010-06-05
| | | | | | | 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
* Fix a crash when opening WMS RTSP streamsMartin Storsjö2010-05-19
| | | | | | Fixes issue 1948 Originally committed as revision 23181 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark av_metadata_set() as deprecated, and use av_metadata_set2()Stefano Sabatini2010-04-25
| | | | | | | | in its place. av_metadata_set() is going to be dropped at the next major bump. Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reset RTCP timestamps after seeking, add range start offset to the packets ↵Martin Storsjö2010-04-20
| | | | | | | | | timestamps If these aren't reset, the timestamps make a huge jump when the next RTCP is received. Originally committed as revision 22918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert svn rev 21857, readd first_rtcp_ntp_time in RTPDemuxContextMartin Storsjö2010-04-20
| | | | | | | | | | | In order to sync RTP streams that get their initial RTCP timestamp at different times, propagate the NTP timestamp of the first RTCP packet to all other streams. This makes the timestamps of returned packets start at (near) zero instead of at any random offset. Originally committed as revision 22917 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AVERROR(FF_NETERROR(x)) -> FF_NETERROR(x)Ramiro Polla2010-04-16
| | | | | | FF_NETERROR is implicitly an AVERROR. Originally committed as revision 22888 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compile error on mingw where ETIMEDOUT is missing (because it's a WSA ↵Ronald S. Bultje2010-04-15
| | | | | | | | | error). This patch also changes FF_NETERROR() to be an AVERROR(), i.e. it is always negative, whereas it was previously positive. Originally committed as revision 22887 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Zero-initialize the reply structMartin Storsjö2010-04-04
| | | | | | | The status_code field is read in the fail codepath, where it could be read uninitialized earlier. Found by clang. Originally committed as revision 22801 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove a redundant assignment, found by clangMartin Storsjö2010-04-03
| | | | Originally committed as revision 22790 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ETIME -> ETIMEDOUT. Patch by Sam Gerstein <sgerstein bluefinlab com>.Sam Gerstein2010-04-02
| | | | Originally committed as revision 22785 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge Vorbis / Theora depayloaders.Josh Allmann2010-04-01
| | | | | | Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>. Originally committed as revision 22768 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace @returns by @return.Benoit Fouet2010-03-30
| | | | Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Some spelling fixes.Reimar Döffinger2010-03-29
| | | | Originally committed as revision 22720 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a timeout to the select() call. Patch by Sam Gerstein <sgerstein bluefinlabSam Gerstein2010-03-29
| | | | | | com>. Originally committed as revision 22718 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reassemble the RTSP URL before replacing hostname with the numerical IPMartin Storsjö2010-03-25
| | | | Originally committed as revision 22681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify ff_rtsp_send_cmd_with_content_async, remove an unnecessary bufferMartin Storsjö2010-03-25
| | | | Originally committed as revision 22680 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't force basic auth in RTSP, but retry with the server-specified method ↵Martin Storsjö2010-03-25
| | | | | | on failure Originally committed as revision 22678 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Actually parse the auth headers in RTSPMartin Storsjö2010-03-25
| | | | Originally committed as revision 22677 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make RTSP use the generic http authentication codeMartin Storsjö2010-03-25
| | | | | | Still hardcoded to use Basic auth, without parsing the reply headers Originally committed as revision 22676 to svn://svn.ffmpeg.org/ffmpeg/trunk