summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.c
Commit message (Collapse)AuthorAge
...
* rtpdec: Parse the next packet in the sequence if it is available, if the ↵Martin Storsjö2010-10-13
| | | | | | previous packet didn't return any data Originally committed as revision 25460 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Return AVERROR(EAGAIN) if out of data for mpegts, pass returned ↵Martin Storsjö2010-10-13
| | | | | | error codes through Originally committed as revision 25459 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Don't call the depacketizer to return more data unless it actually ↵Martin Storsjö2010-10-13
| | | | | | | | | said it has more data It may have returned a negative number for an error (e.g. AVERROR(EAGAIN), if more data is required for it to be able to return a complete packet). Originally committed as revision 25458 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Split out storing of the depacketization return value to a separate ↵Martin Storsjö2010-10-13
| | | | | | | | function This makes the code less fragile and easier to understand. Originally committed as revision 25457 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Set prev_ret properly when parsing more data from mpegts RTP packetsMartin Storsjö2010-10-08
| | | | Originally committed as revision 25404 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Store the previous return value for mpegts when it was -1, tooMartin Storsjö2010-10-08
| | | | Originally committed as revision 25403 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Keep track of the previous return value from ↵Robert Schlabbach2010-10-08
| | | | | | | | rtp_parse_packet_internal for mpegts packets Patch by Robert Schlabbach, robert_s at gmx dot net Originally committed as revision 25402 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Handle RTP header extensionRobert Schlabbach2010-10-06
| | | | | | | | This fixes roundup issue 2270. Patch by Robert Schlabbach, robert_s at gmx dot net Originally committed as revision 25372 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add RTP depacketization of the X-QT QuickTime formatMartin Storsjö2010-10-06
| | | | Originally committed as revision 25371 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Reorder received RTP packets according to the seq numberMartin Storsjö2010-10-01
| | | | | | Reordering is enabled only when receiving over UDP. Originally committed as revision 25294 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rtpdec: Split out the part of rtp_parse_packet that does the parsing of new ↵Martin Storsjö2010-10-01
| | | | | | packets Originally committed as revision 25293 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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