• Martin Storsjö's avatar
    rtsp: Add support for depacketizing RTP data via custom IO · e96406ed
    Martin Storsjö authored
    To use this, set sdpflags=custom_io to the sdp demuxer. During
    the avformat_open_input call, the SDP is read from the AVFormatContext
    AVIOContext (ctx->pb) - after the avformat_open_input call,
    during the av_read_frame() calls, the same ctx->pb is used for reading
    packets (and sending back RTCP RR packets).
    
    Normally, one would use this with a read-only AVIOContext for the
    SDP during the avformat_open_input call, then close that one and
    replace it with a read-write one for the packets after the
    avformat_open_input call has returned.
    
    This allows using the RTP depacketizers as "pure" demuxers, without
    having them tied to the libavformat network IO.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    e96406ed
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
arch.mak Loading commit data...
avconv.c Loading commit data...
avconv.h Loading commit data...
avconv_filter.c Loading commit data...
avconv_opt.c Loading commit data...
avplay.c Loading commit data...
avprobe.c Loading commit data...
avserver.c Loading commit data...
cmdutils.c Loading commit data...
cmdutils.h Loading commit data...
cmdutils_common_opts.h Loading commit data...
common.mak Loading commit data...
configure Loading commit data...
library.mak Loading commit data...
version.sh Loading commit data...