rtp: Initial H.261 support

Multimedia / Libav - Thomas Volkert [homer-conferencing.com] - 18 December 2014 15:11 UTC

The packetizer only supports splitting at GOB headers - if such aren't available frequently enough, it splits at any random byte offset (not at a macroblock boundary either, which would be allowed by the spec) and sends a payload header pretend that it starts with a GOB header.

As long as a receiver doesn't try to handle such cases cleverly but just drops broken frames, this shouldn't matter too much in practice.

a505c0d rtp: Initial H.261 support
Changelog | 1 +
libavformat/Makefile | 2 +
libavformat/rtpdec.c | 1 +
libavformat/rtpdec_formats.h | 1 +
libavformat/rtpdec_h261.c | 202 ++++++++++++++++++++++++++++++++++++++++++
libavformat/rtpenc.c | 19 +++-
libavformat/rtpenc.h | 1 +
libavformat/rtpenc_h261.c | 102 +++++++++++++++++++++
libavformat/sdp.c | 14 +++
libavformat/version.h | 4 +-
10 files changed, 343 insertions(+), 4 deletions(-)

Upstream: git.libav.org


  • Share