summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.c
Commit message (Collapse)AuthorAge
...
* rtsp/rtpdec: Allow rtp_parse_packet to take ownership of the packet bufferMartin Storsjö2010-10-01
| | | | | | | Do the same change for ff_rdt_parse_packet, too, to keep the interfaces similar. Originally committed as revision 25289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle G.722 in RTP, and all the exceptions mandated in RFC 3551Martin Storsjö2010-09-15
| | | | Originally committed as revision 25125 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtsp: Return AVERROR_EOF when all streams have received an RTCP BYE packetJosh Allmann2010-08-29
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentJosh Allmann2010-08-29
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24964 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Read RTCP compound packetsJosh Allmann2010-08-29
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24963 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtp: Replace hardcoded RTCP packet types with definesJosh Allmann2010-08-25
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not use the server SSRC as client SSRC in the RTP demuxerLuca Abeni2010-08-23
| | | | Originally committed as revision 24879 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RTP depacketization of VP8Josh Allmann2010-08-16
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24798 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RTP depacketization of MP4A-LATMMartin Storsjö2010-08-12
| | | | Originally committed as revision 24790 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
* Add a depacketizer for QDM2Josh Allmann2010-07-14
| | | | | | | Patch by Josh Allmann, joshua dot allmann at gmail, original code by Ronald S Bultje. Originally committed as revision 24236 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Allow depacketizers to specify that pkt->pts should be left as ↵Martin Storsjö2010-07-14
| | | | | | AV_NOPTS_VALUE Originally committed as revision 24234 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RTP depacketization of SVQ3Josh Allmann2010-07-01
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23941 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Malloc the fmtp value bufferJosh Allmann2010-06-28
| | | | | | | | This allows very large value strings, needed for xiph extradata. Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23859 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Add generic function for iterating over FMTP configuration linesJosh Allmann2010-06-28
| | | | | | | | This will be used for cleaning up code that is common among RTP depacketizers. Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23847 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
* rtpdec: Move AAC depacketization code in rtpdec to a proper payload handlerJosh Allmann2010-06-25
| | | | | | Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23771 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
* 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
* ReindentMartin Storsjö2010-04-05
| | | | Originally committed as revision 22805 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix leaks in the AAC RTP depacketizerMartin Storsjö2010-04-05
| | | | Originally committed as revision 22804 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename rtpdec_theora.[ch] to rtpdec_xiph.[ch], as a preparation for mergingJosh Allmann2010-04-01
| | | | | | | | the Vorbis / theora depacketizers. Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>. Originally committed as revision 22765 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
* RTP depacketization of TheoraJosh Allmann2010-03-22
| | | | | | Patch by Josh Allmann (joshua allmann gmail com) Originally committed as revision 22636 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename RTP depacketizer files from rtp_* to rtpdec_*Martin Storsjö2010-02-28
| | | | Originally committed as revision 22109 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove first_rtcp_ntp_time. This is used to prevent overflow of the timestamp,Ronald S. Bultje2010-02-16
| | | | | | | | | | but doesn't actually do that. What's worse, it creates timestamp adjustments that are different per stream within a session, leading to a/v sync issues. See discussion in thread "[FFmpeg-devel] rtp streaming x264+audio issues (and some ideas to fix them)". Patch suggested by Luca Abeni <lucabe72 email it>. Originally committed as revision 21857 to svn://svn.ffmpeg.org/ffmpeg/trunk
* When using RTP-over-UDP, send dummy packets during stream setup, similar toMartin Storsjö2010-02-16
| | | | | | | | | what e.g. RealPlayer does. This allows proper port forwarding setup in NAT- based environments. Patch by Martin Storsjö <$firstname at $firstname dot st>. Originally committed as revision 21856 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RTP/AMR depacketizer, by Martin Storsjö <$firstname at $firstname dot st>.Ronald S. Bultje2010-02-10
| | | | Originally committed as revision 21740 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix warnings about implicit function declaration when compiling rtpdec.cAlexis Ballier2010-02-01
| | | | | | Patch by Alexis Ballier, alexis D ballier A gmail Originally committed as revision 21601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RTP/H.263 depacketizer by Martin Storsjö <$firstname () $firstname st>.Ronald S. Bultje2010-01-28
| | | | Originally committed as revision 21512 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for mp3 over RTP in rtpdec.cLuca Abeni2009-12-23
| | | | Originally committed as revision 20916 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a Vorbis payload parser. Implemented by Colin McQuillan as a GSoCRonald S. Bultje2009-04-14
| | | | | | | qualification task, see "RTP/Vorbis payload implementation (GSoC qual task)" thread on mailinglist. Originally committed as revision 18509 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add aRonald S. Bultje2009-03-20
| | | | | | | | SDP line handler that parses the streamID in the SDP so that ASF stream data can be matched to their respective streams in the RTSP demuxer. See "[PATCH] RTSP-MS 12/15: ASF payload support" thread on mailinglist. Originally committed as revision 18061 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't let finalize_packet() touch pkt->stream_index. Instead, let individualRonald S. Bultje2009-03-03
| | | | | | | | | | | | | | | | | | | | | payload handlers take care of that themselves at their own option. What this patch really does is "fix" a bug in MS-RTSP protocol where incoming packets are always coming in over the connection (UDP) or interleave-id (TCP) of the stream-id of the first ASF packet in the RTP packet. However, RTP packets may contain multiple ASF packets (and usually do, from what I can see), and therefore this leads to playback bugs. The intended stream-id per ASF packet is given in the respective ASF packet header. The ASF demuxer will correctly read this and set pkt->stream_index, but since the "stream" parameter can not be known to rtpdec.c or any of the RTP/RTSP code, the "st" parameter in all these functions is basically invalid. Therefore, using st->id as pkt->stream_index leads to various playback bugs. The result of this patch is that pkt->stream_index is left untouched for RTP/ASF (and possibly for other payloads that have similar behaviour). The patch was discussed in the "[PATCH] rtpdec.c: don't overwrite pkt->stream_index in finalize_packet()" thread on the mailinglist. Originally committed as revision 17767 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after r17764.Ronald S. Bultje2009-03-03
| | | | Originally committed as revision 17765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In the current implementation of rtp_parse_packet(), finalize_packet() isRonald S. Bultje2009-03-03
| | | | | | | | | called for all packets with an internal handler function but only for non-first packets from dynamic payload parse_packet() handlers. This patch fixes that. Bug was noticed by Luca in "[PATCH] rtpdec.c: don't overwrite pkt->stream_index in finalize_packet()" thread. Originally committed as revision 17764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement marker bit, which is used for several RTP payloads currentlyRonald S. Bultje2009-02-26
| | | | | | | under review. See "[FFmpeg-devel] RTP mark bit not passed to parse_packet" thread on mailinglist. Originally committed as revision 17616 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split rtp.h in rtp.h, rtpdec.h, and rtpenc.hLuca Abeni2009-02-06
| | | | Originally committed as revision 17016 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add "AVFormatContext *ctx" (that being the RTSP demuxer's) as first argumentRonald S. Bultje2009-02-06
| | | | | | | | | | | | to the parse_packet() function pointer in RTPDynamicProtocolHandlers. This allows these functions to peek back and retrieve values from the demuxer's context (or RTSPState). The ASF/RTP payload parser will use this to be able to parse SDP values (which occur even before the payload ID is given), store them in the RTSPState and then retrieve them while parsing payload data. See "[PATCH] RTSP-MS 13/15: add RTSP demuxer AVFormatContext to parse_packet() function pointer (was: transport context)" mailinglist thread. Originally committed as revision 17015 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge rtp_internal.h in rtp.h, and remove rtp_internal.hLuca Abeni2009-01-27
| | | | Originally committed as revision 16817 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename rtp_payload_data_t to avoid clashes with the POSIX namespaceLuca Abeni2008-12-13
| | | | Originally committed as revision 16115 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
* Change function prototype of RTPDynamicPayloadHandler.parse_packet() toRonald S. Bultje2008-10-04
| | | | | | | | | not use RTPDemuxContext, but rather take a pointer to the payload context directly. This allows using payload handlers regardless over the transport over which they were sent, and prepares for the introduction of a future RDTDemuxContext. See discussion in "RDT/Realmedia patches #2" thread on ML. Originally committed as revision 15541 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Uniformly define _XOPEN_SOURCE to 600.Diego Biurrun2008-09-29
| | | | | | | | | The feature_tests.h header from Sun systems (Solaris/OpenSolaris) will abort the build if _XOPEN_SOURCE is defined to 500, and C99 is requested (as well as POSIX.1-2001), and will only accept it to be defined to 600. inspired by a patch from Diego Pettenò, flameeyes gmail com Originally committed as revision 15460 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give register_dynamic_payload_handler() in rtpdec.c a ff_ prefix and exportRonald S. Bultje2008-09-07
| | | | | | | it so that I can use it in rdt.c as well. See discussion in "Realmedia patch" thread on ML. Originally committed as revision 15233 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not set timestamp information for a non existing AVStreamLuca Abeni2008-08-22
| | | | | | (fix a bug in the RTP demuxer) Originally committed as revision 14909 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