rtp: add H.261 RTP payloader and depayloader
authorStian Selnes <stian@pexip.com>
Mon, 1 Dec 2014 13:18:40 +0000 (14:18 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 3 Jul 2015 10:48:41 +0000 (11:48 +0100)
commitef8d630a5983e7708321e2fad786d167c2a68da9
tree950115615873026ec518e896f38f28eb714db3bd
parent9dfae82566ac5d3e5c2bce59614cfd9278cc9a03
rtp: add H.261 RTP payloader and depayloader

Implementation according to RFC 4587.

Payloader create fragments on MB boundaries in order to match MTU size
the best it can. Some decoders/depayloaders in the wild are very strict
about receiving a continuous bit-stream (e.g. no no-op bits between
frames), so the payloader will shift the compressed bit-stream of a
frame to align with the last significant bit of the previous frame.

Depayloader does not try to be fancy in case of packet loss. It simply
drops all packets for a frame if there is a loss, keeping it simple.

https://bugzilla.gnome.org/show_bug.cgi?id=751886
gst/rtp/Makefile.am
gst/rtp/gstrtp.c
gst/rtp/gstrtph261depay.c [new file with mode: 0644]
gst/rtp/gstrtph261depay.h [new file with mode: 0644]
gst/rtp/gstrtph261pay.c [new file with mode: 0644]
gst/rtp/gstrtph261pay.h [new file with mode: 0644]
tests/check/elements/rtp-payloading.c