OSDN Git Service

rtp: Initial H.261 support
authorThomas Volkert <thomas@homer-conferencing.com>
Sat, 6 Dec 2014 18:54:07 +0000 (19:54 +0100)
committerMartin Storsjö <martin@martin.st>
Thu, 18 Dec 2014 21:11:37 +0000 (23:11 +0200)
commita505c0d7373336a4cc5aa2022111c46bdd388b1f
tree1209231eab3ba771201b13e40b97f36b9496e2e5
parentadc214e6797750285a5e62634b8521db521162ad
rtp: Initial H.261 support

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.

Signed-off-by: Martin Storsjö <martin@martin.st>
Changelog
libavformat/Makefile
libavformat/rtpdec.c
libavformat/rtpdec_formats.h
libavformat/rtpdec_h261.c [new file with mode: 0644]
libavformat/rtpenc.c
libavformat/rtpenc.h
libavformat/rtpenc_h261.c [new file with mode: 0644]
libavformat/sdp.c
libavformat/version.h