rtsp: Use GET_PARAMETER for keep-alive for generic RTSP servers
According to the RFC, GET_PARAMETER should be used forthis, and according to a report from Tim Ouellette,OPTIONS doesn't work for keeping the connection alive for someservers. Also, live555 uses GET_PARAMETER for this purpose....
Do not use format string "%0.3f" for RTSP Range field.
The format string was locale-depending.
Signed-off-by: Ronald S. Bultje <firstname.lastname@example.org>
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <email@example.com>
avio: rename url_fopen/fclose -> avio_open/close.
libavformat: Remove FF_NETERRNO()
Map EAGAIN and EINTR from ff_neterrno to the normal AVERRORerror codes. Provide fallback definitions of other errno.h networkerrors, mapping them to the corresponding winsock errors.
This eases catching these error codes in common code, without having...
rtsp/rdt: Assign the RTSPStream index to AVStream->id
This is used for mapping AVStreams back to their correspondingRTSPStream. Since d9c0510, the RTSPStream pointer isn't stored inAVStream->priv_data any longer, breaking this mapping from AVStreamsto RTSPStreams....
Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008
rtsp: make ff_sdp_parse return value forwarded
the sdp demuxer did not forward it at all while the rtsp demuxer assumeda single kind of error
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
This also lists the objects from those two libraries as internal (by addingthe ff_ prefix) so that they can then be hidden via linker scripts.
rtspdec: Retry with TCP if UDP failed
Signed-off-by: Janne Grunau <firstname.lastname@example.org>
rtspdec: Move rtsp_read_pause up, next to rtsp_read_play
Originally committed as revision 26235 to svn://svn.ffmpeg.org/ffmpeg/trunk
rtsp: Simplify code
Originally committed as revision 26234 to svn://svn.ffmpeg.org/ffmpeg/trunk
rtsp: Move resetting of rtpdec parameters to before sending the PLAY request
Originally committed as revision 26233 to svn://svn.ffmpeg.org/ffmpeg/trunk
rtsp: Store the Content-Base header value straight to the target
This avoids having a large temporary buffer in the struct used forstoring the rtsp reply headers.
Originally committed as revision 26192 to svn://svn.ffmpeg.org/ffmpeg/trunk
rtsp: Add a method parameter to ff_rtsp_read_reply
Originally committed as revision 26189 to svn://svn.ffmpeg.org/ffmpeg/trunk
rtpdec: Emit timestamps for packets before the first RTCP packet, too
Emitted timestamps in each stream start from 0, for the first receivedRTP packet. Once an RTCP packet is received, that one is used forsync, emitting timestamps that fit seamlessly into the earlier ones....
rtsp: Parse and use the Content-Base reply header, if present
This fixes playing RTSP urls with query parameters.
Originally committed as revision 25755 to svn://svn.ffmpeg.org/ffmpeg/trunk
rtsp: Set the real_setup pointer properly, avoid out of bounds memory accesses
This fixes a regression since svn rev 24752, where the real_setup pointerwas set incorrectly. The arithmetic with the real_setup_cache pointeris in units of enum AVDiscard, so the sizeof multiplication should be removed....
rtsp: Split out the RTSP demuxer functions to a separate, new file
Originally committed as revision 25601 to svn://svn.ffmpeg.org/ffmpeg/trunk