summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
Commit message (Collapse)AuthorAge
...
* Change function prototype from taking an AVStream to taking an index to theRonald S. Bultje2008-11-30
| | | | | | | | stream itself, plus a name change to signify that there may be multiple AVStreams per RDT set. See discussion in "[PATCH] RDT/Realmedia patches #2" thread on ML. Originally committed as revision 15962 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add is_keyframe param to ff_rdt_parse_header(). See ML discussion inRonald S. Bultje2008-11-15
| | | | | | "[PATCH] RDT/Realmedia patches #2" thread. Originally committed as revision 15833 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Call check_back_and_send_rr() function only in case of RTP as a transport.Ronald S. Bultje2008-11-15
| | | | | | | | Don't call it for RDT, since it is unneeded and it doesn't provide a RTPDemuxContext, leading to some memory errors. See "[PATCH] fix small memory error in rtsp.c" thread on ML. Originally committed as revision 15828 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r15544.Ronald S. Bultje2008-10-04
| | | | Originally committed as revision 15545 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement RDTDemuxContext, which contains RDT-specific data (similar toRonald S. Bultje2008-10-04
| | | | | | | RTPDemuxContext for RTP) for these streams where the transport protocol is RDT (as served by Realmedia servers). Originally committed as revision 15544 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make RTPDemuxContext opaque in rtsp.c, renaming it to tx_ctx (tx=transport)Ronald S. Bultje2008-10-04
| | | | | | | and making its type a void pointer. See discussion in "RDT/Realmedia patches #2" thread on ML. Originally committed as revision 15543 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove access into RTPDemuxContext in rtsp.c, which allows making it opaqueRonald S. Bultje2008-10-04
| | | | | | | (and thus preparing for the introduction of RDTDemuxContext) in a next patch. See discussion in "RDT/Realmedia patches #2" thread on ML. Originally committed as revision 15542 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename RTP payload contexts to PayloadContext, suggested by Luca inRonald S. Bultje2008-10-04
| | | | | | "RDT/Realmedia patches #2" thread on ML. Originally committed as revision 15540 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use enum typers instead of int.Diego Pettenò2008-10-02
| | | | | | Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail Originally committed as revision 15517 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add (additional) const to many global tables.Reimar Döffinger2008-10-02
| | | | Originally committed as revision 15515 to svn://svn.ffmpeg.org/ffmpeg/trunk
* This patch refactors RDT packet header parsing so that it can be used inRonald S. Bultje2008-10-01
| | | | | | | | rtsp.c to detect the ID of the packet source also in case of TCP streams. This allows proper playback of RDT streams with multiple stream types, e.g. audio + video. Accepted by LucaB in "RDT/Realmedia patches #2" thread on ML. Originally committed as revision 15496 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after previous patches.Ronald S. Bultje2008-09-30
| | | | Originally committed as revision 15485 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement a RTSPTransport field, which allows proper separation of serverRonald S. Bultje2008-09-30
| | | | | | | | types and their non-standard extensions, and the data they serve. Practically, this patch allows Real servers to serve normal non-RDT (standard RTP) data. See discussion on ML in "Realmedia patch" thread. Originally committed as revision 15484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove access to rdt_data struct in functions called outside of theRonald S. Bultje2008-09-30
| | | | | | | | | DynamicProtocol* context. Doing so could lead to problems if we're accessing Real servers serving non-RDT data (or the other way around). Temporarily, this patch adds a _subscribe2() function which will soon be removed in one of the subsequent commits. OK'ed by Luca in "Realmedia patch" thread on ML. Originally committed as revision 15483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Send improper UDP SETUP request, which is what Realmedia servers expect.Ronald S. Bultje2008-09-30
| | | | | | See discussion on ML in "Realmedia patch" thread. Originally committed as revision 15482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename RTSPProtocol to RTSPLowerTransport, so that its name properly tells usRonald S. Bultje2008-09-30
| | | | | | | | that it only describes the lower-level transport (TCP vs. UDP) and not the actual data layout (e.g. RDT vs. RTP). See discussion in "Realmedia patch" thread on ML. Originally committed as revision 15481 to svn://svn.ffmpeg.org/ffmpeg/trunk
* only include sys/select.h if present, fix mingw compilationBaptiste Coudurier2008-09-26
| | | | Originally committed as revision 15420 to svn://svn.ffmpeg.org/ffmpeg/trunk
* include sys/select.h instead of unistd.h to get select,Baptiste Coudurier2008-09-24
| | | | | | according to posix 2001, fix compilation on freebsd 5.5 Originally committed as revision 15405 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r15317.Ronald S. Bultje2008-09-14
| | | | Originally committed as revision 15318 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename RTSP_SERVER_RDT to RTSP_SERVER_REAL, because RDT (the transportRonald S. Bultje2008-09-14
| | | | | | | protocol) is not strictly related to the server type (Real servers can stream both RDT and RTP). Originally committed as revision 15317 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r15927, see discussion in "[PATCH] rtsp cleanup part 1:Ronald S. Bultje2008-09-11
| | | | | | remove duplicate code" thread on ML. Originally committed as revision 15298 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize out common code for opening of the RTP parsing context betweenRonald S. Bultje2008-09-11
| | | | | | | SDP and RTSP into a new function. See discussion on ML in "[PATCH] rtsp cleanup part 1: remove duplicate code" thread. Originally committed as revision 15297 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement RDT-specific data parsing routines. After these changes, simpleRonald S. Bultje2008-09-07
| | | | | | | playback of RTSP/RDT streams should work. See discussion in "Realmedia patch" thread on ML. Originally committed as revision 15237 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after previous patch.Ronald S. Bultje2008-09-07
| | | | Originally committed as revision 15236 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement a RDT-specific SET_PARAMETER command that subscribes to theRonald S. Bultje2008-09-07
| | | | | | | first stream in a RTSP/RDT session. See discussion in "Realmedia patch" thread on ML. Originally committed as revision 15235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused code that used to handle protocol concatenation, i.e. tryingRonald S. Bultje2008-09-03
| | | | | | | | | multiple protocols at the same time. We now cycle protocols individually to autodetect, making this code no longer needed, and thus the support code for it in make_setup_request() can be removed. See "[PATCH] remove transport concatenation dead code" on mailinglist. Originally committed as revision 15172 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement Realmedia/RTSP-compatible SETUP command. This includes calculationRonald S. Bultje2008-09-03
| | | | | | | of the "RealChallenge2" response, which is some sort of authentication. See discussion in "Realmedia patch" thread on ffmpeg-devel. Originally committed as revision 15170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless "else" case in if X { A; return }; else { B }. See discussionRonald S. Bultje2008-09-01
| | | | | | in "Realmedia patch" thread on mailinglist. Originally committed as revision 15142 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Some RTSP streams use SDP lines longer than 1024 bytes, so the SDP lineRonald S. Bultje2008-09-01
| | | | | | | buffer needs to be increased. See discussion in "Realmedia patch" thread on mailinglist. Originally committed as revision 15141 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement Realmedia-compatible DESCRIBE command.Ronald S. Bultje2008-09-01
| | | | Originally committed as revision 15140 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Send RTSP OPTIONS command to detect server type.Ronald S. Bultje2008-08-31
| | | | Originally committed as revision 15125 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Read RealChallenge1 field from the server.Ronald S. Bultje2008-08-31
| | | | Originally committed as revision 15124 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement RTSPServerType enum as a way to identify the flavour of RTSP thatRonald S. Bultje2008-08-31
| | | | | | the server will send to us (standard-compliant RTP or Realmedia-style RDT). Originally committed as revision 15123 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert back to old version (r15103).Ronald S. Bultje2008-08-31
| | | | Originally committed as revision 15122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement RTSP/Realmedia-compatible OPTIONS command. See "Realmedia patch"Ronald S. Bultje2008-08-31
| | | | | | | | | | thread on mailinglist for discussion. This patch also implements a RTSPServerType enum, which allows the RTSP to keep track of what kind of a stream we're handling: standard-compliant RTP or a proprietary derivative. This will be used in subsequent patches to implement more Realmedia-specific extensions required to receive and parse data coming from a Realmedia server. Originally committed as revision 15104 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use RTPDynamicProtocol parse_sdp_a_line() handlers in case of unknown SDPRonald S. Bultje2008-08-27
| | | | | | | | lines. This allows "private" SDP tags to be forwarded to the specific handler, allowing protocol-specific handling of SDP data. See mailinglist discussion in the "Realmedia patch" thread. Originally committed as revision 14987 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ensure we get explicit definition of various _XOPEN_SOURCE functions we useAurelien Jacobs2008-08-14
| | | | Originally committed as revision 14766 to svn://svn.ffmpeg.org/ffmpeg/trunk
* strcasecmp() requires #include <strings.h>Aurelien Jacobs2008-08-13
| | | | Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not free the priv_data field of AVStream on close (it is alreadyLuca Abeni2008-06-27
| | | | | | freed by av_close_input_stream()) Originally committed as revision 14006 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.Stefano Sabatini2008-06-03
| | | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste.it along with some spelling/consistency fixes for the long names by me Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary parentheses from return calls.Diego Biurrun2008-05-06
| | | | Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix receiving from SDP with unicast destinationsLuca Abeni2008-04-15
| | | | Originally committed as revision 12831 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the "multicast=" tag from UDP and RTP URLsLuca Abeni2008-04-15
| | | | Originally committed as revision 12830 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use FF_NETERROR to make winsock happy, patch from prossATxvidDoTorgLuca Barbato2008-04-03
| | | | Originally committed as revision 12678 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after rtsp-alternate-protocol* patches.Ronald S. Bultje2008-03-19
| | | | Originally committed as revision 12506 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change protocol_mask into protocol, since we always just try a single one perRonald S. Bultje2008-03-19
| | | | | | | | | | iteration in make_setup_request(), and cycling between the different protocols is now done in the calling function, therefore the need for a mask goes away. This also makes the function somewhat simpler to read. Discussed and approved in "[PATCH] RTSP alternate protocol 3/4". Originally committed as revision 12505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow cycling between different protocols (TCP, UDP or multicast) so that ifRonald S. Bultje2008-03-19
| | | | | | | | | one doesn't work, we can try the next one (i.e. trial-error protocol auto- probing). Discussed and approved in "[PATCH] RTSP alternate protocol 2-3/3". Originally committed as revision 12504 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split the SETUP request into a separate function, as a prelude into allowingRonald S. Bultje2008-03-17
| | | | | | | | | multiple SETUPs to be send to cycle protocols rather than bailing if one fails. Discussed and approved in "[PATCH] RTSP alternate protocol 1/3". Originally committed as revision 12476 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop RTSP default protocol.Ronald S. Bultje2008-01-02
| | | | | | patch by Ronald S. Bultje, rsbultje gmail com Originally committed as revision 11377 to svn://svn.ffmpeg.org/ffmpeg/trunk