summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_rtp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for LIVE555 RTSP streamingwm42012-08-201-733/+0
| | | | | | | | | | | | The main excuse for removing this is that LIVE555 deprecated the API the mplayer implementation was using. The old API still seems to be somewhat supported, but must be explicitly enabled at LIVE555 compilation, so mplayer won't always work on any user installation. The implementation was also very messy, in C++, and FFmpeg support is available as alternative. Remove it completely.
* demux_rtp: fix compilation with new LIVE555 librariesmplayer-svn2012-08-031-0/+2
| | | | | | | Patch by Marty Jack, martyj19 comcast net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34800 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: cehoyos
* configure, build: remove --disable-libav supportUoti Urpala2011-12-111-8/+0
| | | | | Remove support for building the player without libavcodec and libavformat. These libraries are now always required.
* demuxer.h: avoid including stream.hUoti Urpala2011-08-191-0/+2
| | | | | | Drop the unnecessary include and add a missing direct include in some files. This also revealed that demux_rtp_internal.h was missing a config.h include, fix that too.
* demux_rtp.cpp: Add a hack to receive audio while probing video FPSreimar2011-07-061-1/+26
| | | | | | | Otherwise newer live555 versions would just hang. Fixes http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1874 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33793 b3059339-0415-0410-9bf9-f77b7e298cf2
* build: enable/disable all FFmpeg libraries togetherUoti Urpala2010-11-021-4/+4
| | | | | | | | | Enable all of libavcodec, libavformat, libswscale, and libpostproc together (libavutil is always required). based on svn commit by diego: git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32226 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_rtp: Remove pointless typedef keyworddiego2010-11-021-1/+1
| | | | | | | Remove "typedef" from struct RTPState declaration; fixes: libmpdemux/demux_rtp.cpp:90: warning: 'typedef' was ignored in this declaration git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32170 b3059339-0415-0410-9bf9-f77b7e298cf2
* rtsp: Support RTSP/RTP over HTTP via LIVE555cehoyos2010-11-021-1/+7
| | | | | | | | | | Patch by Malte Särner, malte D sarner A multiq se git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31347 b3059339-0415-0410-9bf9-f77b7e298cf2 Fix compilation with nemesi and live555. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31348 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge svn changes up to r29644Uoti Urpala2009-09-041-2/+2
|\
| * free(), delete and delete[] are all different and can't just be used at random,reimar2009-09-021-2/+2
| | | | | | | | | | | | | | so change code to use the one appropriate for the allocation used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29627 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29532Uoti Urpala2009-08-181-1/+7
|\|
| * Fix possible double-free.cehoyos2009-08-121-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29502 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Make *avcctx AVCodecContext instead of void.cehoyos2009-08-111-2/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29495 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix a crash when playing some H264 over rtsp streams: Do pass ancehoyos2009-08-111-1/+5
| | | | | | | | | | | | | | AVCodecContext to the H264 parser. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29493 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29412Uoti Urpala2009-07-071-3/+8
|\|
| * Unify over rtsp_transport_tcp as var to hold the -rtsp-stream-over-tcp flag ↵lu_zero2009-05-251-3/+8
| | | | | | | | | | | | and make sure libnemesi only builds are fine git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29322 b3059339-0415-0410-9bf9-f77b7e298cf2
| * whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-12/+12
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesUoti Urpala2009-07-071-12/+12
| |
* | Merge svn changes up to r29304Uoti Urpala2009-07-071-2/+20
|\|
| * Add standard license header to all files in libmpdemux.diego2009-05-081-2/+20
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
* | demux_rtp.cpp: Add missing #includeUoti Urpala2008-12-021-0/+1
| |
* | demux_rtp.cpp: Fix compilation issuesUoti Urpala2008-12-021-3/+3
| | | | | | | | This file hadn't been updated after some API changes.
* | Merge svn changes up to 27824Uoti Urpala2008-10-251-1/+1
|\| | | | | | | | | | | | | | | | | | | Conflicts: cfg-common-opts.h libmpcodecs/dec_video.c libmpcodecs/vd.c libvo/x11_common.h mplayer.c stream/cache2.c
| * increase the max RTP packet size to 5MB as modern Elphelattila2008-10-221-1/+1
| | | | | | | | | | | | | | | | cameras do produce such huge packets. Requested by Alexandre Poltorak git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27810 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27374Uoti Urpala2008-07-301-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cfg-common-opts.h cfg-mplayer.h command.c configure libmpcodecs/dec_video.c libmpcodecs/vd.c libmpcodecs/vf_vo.c libmpdemux/demuxer.h libmpdemux/stheader.h mp_core.h mplayer.c stream/stream_radio.c
| * Start unifying names of internal preprocessor directives.diego2008-07-301-2/+2
| | | | | | | | | | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Add option pointer to demuxers and stheader.h structsUoti Urpala2008-04-231-1/+2
|/
* Rename demuxer tags to clarifylu_zero2007-12-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25298 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix playback of streams with more than one video track (only one supported).cehoyos2007-12-021-1/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25265 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix playback of streams with more than one audio track (only one supported).cehoyos2007-09-251-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24618 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify network timeout calculation.cehoyos2007-06-201-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23589 b3059339-0415-0410-9bf9-f77b7e298cf2
* Silence three warnings.cehoyos2007-06-181-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23575 b3059339-0415-0410-9bf9-f77b7e298cf2
* Stop playing at eof or if no data arrives for ten seconds.cehoyos2007-06-181-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23574 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after FFmpeg r8921cehoyos2007-05-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23242 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use teardownMediaSession() instead of teardownMediaSubsession()cehoyos2007-04-031-6/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22911 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support h264 over rtspcehoyos2007-04-011-0/+51
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22870 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: Move variable declaration and initialization up.cehoyos2007-04-011-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22869 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix filepos calculationcehoyos2007-03-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22777 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: renamed variable amr as headersize, more meaningful; patch by ↵nicodvb2007-03-121-4/+4
| | | | | | Carl Eugen Hoyos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22537 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for AMR; it works inserting in the first byte of the demux_packetnicodvb2007-03-061-2/+13
| | | | | | | | | a 1-byte header that live555 seems to be stripping for some reason, although according to the specs it should be there. Patch by Carl Eugen Hoyos. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22481 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused definition of insertRTPData(); it's not only unused,nicodvb2007-03-051-28/+0
| | | | | | | | | but conceptually wrong as it passed extradata as first demux_packet to the corresponding demux_stream. Patch by Carl Eugen Hoyos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22472 b3059339-0415-0410-9bf9-f77b7e298cf2
* implementation of DEMUXER_CTRL_GET_TIME_LENGTH and ↵nicodvb2007-02-271-1/+21
| | | | | | DEMUXER_CTRL_GET_PERCENT_POS; patch by the usual Hoyos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22373 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l, removed code that messed with the internals of demux_packet_t (but ↵nicodvb2007-02-271-2/+1
| | | | | | there's still more); patch by C.E.Hoyos fixed by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22371 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't declare same global var twice (break live555 compilation)ben2006-06-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18836 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allows the LIVE555 library to forces the client's port to be usedbertrand2006-02-191-1/+5
| | | | | | | | | when reading from an RTP/RTSP source. Patch from Benjamin Zores <ben@geexbox.org> and Patrick Labatut <plabatut@gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17651 b3059339-0415-0410-9bf9-f77b7e298cf2
* "LIVE.COM Streaming Media" is now called "LIVE555 Streaming Media".rsf2005-09-231-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16573 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxer modularizationrtognimp2005-08-051-0/+17
| | | | | | | Demuxer selection by name with -demuxer command (bakward compatible) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
* ported all network streams to the new APInicodvb2005-05-291-32/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15586 b3059339-0415-0410-9bf9-f77b7e298cf2
* Updated to conform to a small change in the LIVE.COM API.rsf2004-07-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12867 b3059339-0415-0410-9bf9-f77b7e298cf2
* MinGW compilation fix from a patch by Joey Parrish, approved by Saschadiego2004-06-031-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12532 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added "audio_id", "video_id", "dvdsub_id" to the call to "demux_open()".rsf2004-06-021-1/+3
| | | | | | | (Thanks to Nico Sabbi for suggesting this.) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12522 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed a bug that was accidentally introduced by the addition of MPEG Transportrsf2004-03-191-0/+3
| | | | | | | | Stream support. We now handle errors such as 'stream not found' correctly once again. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12044 b3059339-0415-0410-9bf9-f77b7e298cf2
* We now allow for the possibility of the RTCP audio/video synchronization beingrsf2004-03-021-1/+7
| | | | | | | | | incorrect. (I encounted a stream for which this was the case.) Now, if audio and video are out-of-sync by >60 seconds, we assume that the RTCP sync is incorrect, and we don't discard any packets. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12008 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for multiplexed audio+video RTP streams.rsf2004-02-221-1/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11985 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed to conform to recent changes to the "LIVE.COM Streaming Media" code.rsf2004-01-061-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11756 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed the criteria for when to drop RTP packets whose timestamp is too farrsf2003-09-241-2/+5
| | | | | | | | behind that of the other (audio or video) stream. Now, this is done only if both streams have been synchronized using RTCP. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10938 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for checking whether a RTP demuxer contains combined ↵rsf2003-07-271-0/+7
| | | | | | audio_video data. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10478 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added SIP (IP telephony) client support. (This was already supported in thersf2003-05-031-26/+59
| | | | | | | | LIVE.COM libraries, so updating the MPlayer code to support it required only relatively minor changes.) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10055 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed a bug that could sometimes cause the first video packet in a RTP streamrsf2003-04-121-1/+4
| | | | | | | to be rejected. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9912 b3059339-0415-0410-9bf9-f77b7e298cf2
* Access-controlled RTSP sessions can now be played, if the user uses thersf2003-04-111-1/+12
| | | | | | | "-user" and "-passwd" options. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9905 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added some optional debugging printfs (disabled by default)rsf2003-04-021-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9787 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved RTP packet buffering, by relying on the underlying OS's UDPrsf2003-03-111-193/+251
| | | | | | | | | | socket buffering. Improve A/V sync by dropping packets when one stream gets too far behind the other. Now tries to figure out the video frame rate automatically (if "-fps" is not used). Added support for MPEG-4 Elementary Stream video and MPEG-4 Generic audio RTP streams. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9566 b3059339-0415-0410-9bf9-f77b7e298cf2
* Repairing breakage to RTP streaming. Patch by Ross Finlayson ↵bertrand2003-02-181-0/+3
| | | | | | <finlayson@live.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9458 b3059339-0415-0410-9bf9-f77b7e298cf2
* Motion-JPEG RTP streams can now be played. Some MPEG-4 ES video RTParpi2003-02-091-0/+1
| | | | | | | | streams can also be played. patch by Ross Finlayson <finlayson@live.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9371 b3059339-0415-0410-9bf9-f77b7e298cf2
* Restruct by Ross Finlayson <finlayson@live.com>bertrand2003-02-031-163/+101
| | | | | | | | | The code now supports 'QuickTime generic' RTP streams (the "X-QT" MIME type), which - thanks to the QuickTime codecs - makes it possible to play more QuickTime RTP streams. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9251 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for MPEG-4 (AAC) audio RTSP/RTPbertrand2003-01-181-0/+17
| | | | | | | Patch by Ross Finlayson <finlayson@live.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8988 b3059339-0415-0410-9bf9-f77b7e298cf2
* From live.com 2002.11.30:bertrand2002-12-061-0/+4
| | | | | | | | | | Renamed "TaskScheduler::blockMyself()" to "doEventLoop()", to better describe what this member function actually does. Patch from Andreas Hess <jaska@gmx.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8384 b3059339-0415-0410-9bf9-f77b7e298cf2
* use standard gsm fourcc 'agsm' instead of msgsm id 0x31arpi2002-10-161-1/+1
| | | | | | | patch by Ross