summaryrefslogtreecommitdiff
path: root/libavformat/rdt.c
Commit message (Collapse)AuthorAge
...
* 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
* 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
* 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
* Add dynamic payload handlers to rdt.c. These follow the same API as the onesRonald S. Bultje2008-09-07
| | | | | | | | | | | | | | | | | | in rtpdec.c, so that they can be shared and used in the same way in rtsp.c. The handlers, since they are specific for RDT, are registered in rdt.c and a new registration function is thus called from allformats.c. The dynamic payload handler also implements RDT-specific SDP-line parsing for OpaqueData and StartTime, which are specific for RDT and needed for proper playback. OpaqueData contains one or a list ("MLTI") of "MDPR" chunks that can be parsed by the rmdec.c function ff_rm_read_mdpr_codecdata(). To use this function, we create a new rdt_demuxer, which has the same private data as the rm_demuxer. The resulting AVFormatContext created with _open_stream() can thus be used to call functions in the RM demuxer. See discussion in "Realmedia patch" thread on ML. Originally committed as revision 15234 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