gstreamer/gst
Antonio Ospite 9d800cad43 rtpmanager: consider UDP and IP headers in bandwidth calculation
According to RFC3550 lower-level headers should be considered for
bandwidth calculation.

See https://tools.ietf.org/html/rfc3550#section-6.2 paragraph 4:

  Bandwidth calculations for control and data traffic include
  lower-layer transport and network protocols (e.g., UDP and IP) since
  that is what the resource reservation system would need to know.

Fix the source data to accommodate that.

Assume UDPv4 over IP for now, this is a simplification but it's good
enough for now.

While at it define a constant and use that instead of a magic number.

NOTE: this change basically reverts the logic of commit 529f443a6
(rtpsource: use payload size to estimate bitrate, 2010-03-02)
2019-08-02 17:22:51 +02:00
..
alpha doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
apetag doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
audiofx doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
audioparsers audioparsers: add back segment clipping to parsers that have lost it 2019-06-24 14:40:58 +03:00
auparse doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
autodetect doc: remove xml from comments 2019-05-29 22:20:40 +02:00
avi doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
cutter doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
debugutils doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
deinterlace doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
dtmf doc: remove xml from comments 2019-05-29 22:20:40 +02:00
effectv doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
equalizer doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
flv flvmux: Clear new_tags if sending metadata in header 2019-06-24 17:37:51 +02:00
flx doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
goom doc: Fix some docstrings 2019-05-13 17:00:00 -04:00
goom2k1 doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
icydemux doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
id3demux doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
imagefreeze doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
interleave doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
isomp4 qtdemux: Use empty-array safe way to cleanup GPtrArray 2019-08-02 12:32:59 +09:00
law doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
level doc: remove xml from comments 2019-05-29 22:20:40 +02:00
matroska matroskademux: Ignore crc32 element while peeking at cluster. 2019-07-27 14:21:34 -04:00
monoscope doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
multifile splitmuxsink: add the ability to mux auxilliary video streams 2019-07-15 11:46:36 +00:00
multipart doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
replaygain doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
rtp rtpmp4vpay: config-interval -1 send at idr 2019-08-01 14:28:04 +00:00
rtpmanager rtpmanager: consider UDP and IP headers in bandwidth calculation 2019-08-02 17:22:51 +02:00
rtsp rtspsrc: unref the event in element seek handler 2019-07-01 13:54:13 +02:00
shapewipe doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
smpte doc: fix element section documentations 2019-05-25 16:57:31 +02:00
spectrum doc: remove xml from comments 2019-05-29 22:20:40 +02:00
udp multiudpsink: Add missing socket.h include 2019-06-26 18:03:29 -04:00
videobox doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
videocrop doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
videofilter doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
videomixer videomixer: the documentation for GstVideoMixer2Pad is not exposed 2019-05-25 17:25:02 +02:00
wavenc doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
wavparse doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
y4m doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
Makefile.am build: build plugins and examples in parallel where possible 2010-03-29 11:00:57 +01:00
meson.build meson: Add feature options for all plugins 2018-07-27 18:42:54 +05:30