summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
Commit message (Collapse)AuthorAge
* 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
* Add separate method/url parameters to the rtsp_send_cmd functionsMartin Storsjö2010-03-25
| | | | Originally committed as revision 22675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentMartin Storsjö2010-03-25
| | | | Originally committed as revision 22672 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_rtsp_send_cmd simply call ff_rtsp_send_cmd_with_contentMartin Storsjö2010-03-24
| | | | Originally committed as revision 22663 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Issue a warning if the received CSeq isn't the expected oneLuca Barbato2010-03-24
| | | | Originally committed as revision 22661 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle errors returned from ff_rtsp_read_reply in udp_read_packet properlyMartin Storsjö2010-03-24
| | | | Originally committed as revision 22657 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle multiple RTSP transport options properly by adding all of them into ↵Martin Storsjö2010-03-23
| | | | | | the mask Originally committed as revision 22644 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Parse options in the RTSP URL only from the last question mark onwardsMartin Storsjö2010-03-23
| | | | | | This helps if the URL (erroneously?) contains question marks within the path. Originally committed as revision 22643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reconstruct the RTSP URL, in order to remove the auth part from the URL sent ↵Martin Storsjö2010-03-23
| | | | | | | | | to the server Don't modify the user-specified s->filename at all, keep all modifications locally and in rt->control_uri. Originally committed as revision 22642 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentMartin Storsjö2010-03-22
| | | | Originally committed as revision 22635 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for TCP as lower transport in the RTSP muxerMartin Storsjö2010-03-22
| | | | Originally committed as revision 22634 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the caller's RTSPMessageHeader in rtsp_setup_input_streamsMartin Storsjö2010-03-22
| | | | | | | Currently, the caller doesn't get the status_code and location for rediects, since rtsp_setup_input_streams uses a copy of RTSPMessageHeader of its own. Originally committed as revision 22630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make rtsp_skip_packet non-static, add ff prefixMartin Storsjö2010-03-15
| | | | Originally committed as revision 22547 to svn://svn.ffmpeg.org/ffmpeg/trunk