gstreamer/gst/rtpmanager
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
..
gstrtpbin.c rtpbin: Improve RTPStorage action signal documentation 2019-05-25 13:44:00 +02:00
gstrtpbin.h Revert "rtpbin: receive bundle support" 2018-12-20 13:25:10 +00:00
gstrtpdtmfmux.c docs: Port all docstring to gtk-doc markdown 2019-05-13 10:24:40 -04:00
gstrtpdtmfmux.h rtpmux: Fix FSF address 2012-12-16 16:36:39 +00:00
gstrtpfunnel.c rtpfunnel: Stop using G_DECLARE_FINAL_TYPE 2018-11-13 00:37:11 +01:00
gstrtpfunnel.h rtpfunnel: Stop using G_DECLARE_FINAL_TYPE 2018-11-13 00:37:11 +01:00
gstrtpjitterbuffer.c rtpjitterbuffer: Unlock output if the queue is full 2019-07-03 18:03:42 +00:00
gstrtpjitterbuffer.h rtpjitterbuffer: small optimizations 2014-04-29 16:21:44 +02:00
gstrtpmanager.c Initial commit of GstRtpFunnel 2018-10-15 14:20:58 +02:00
gstrtpmux.c docs: Port all docstring to gtk-doc markdown 2019-05-13 10:24:40 -04:00
gstrtpmux.h doc: Fix some docstrings 2019-05-13 17:00:00 -04:00
gstrtpptdemux.c doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
gstrtpptdemux.h docs: Port all docstring to gtk-doc markdown 2019-05-13 10:24:40 -04:00
gstrtprtxqueue.c doc: fix element section documentations 2019-05-25 16:57:31 +02:00
gstrtprtxqueue.h rtprtxqueue: implement handling of the max-size-time property 2017-04-11 09:44:33 +03:00
gstrtprtxreceive.c docs: Port all docstring to gtk-doc markdown 2019-05-13 10:24:40 -04:00
gstrtprtxreceive.h rtprtxreceive: Wait until timeout to clear association requests 2014-05-04 22:36:59 -04:00
gstrtprtxsend.c docs: Port all docstring to gtk-doc markdown 2019-05-13 10:24:40 -04:00
gstrtprtxsend.h rtprtxsend: run a new GstTask on the src pad 2014-01-21 14:54:01 +01:00
gstrtpsession.c doc: fix element section documentations 2019-05-25 16:57:31 +02:00
gstrtpsession.h rtpsession: use the correct segment seqnum 2019-02-04 13:14:37 +00:00
gstrtpssrcdemux.c rtpssrcdemux: Avoid taking streamlock out-of-band 2019-06-04 09:26:06 -04:00
gstrtpssrcdemux.h rtpssrcdemux: Remove unused GstSegment 2013-04-02 23:42:41 -04:00
Makefile.am Initial commit of GstRtpFunnel 2018-10-15 14:20:58 +02:00
meson.build doc: Port documentation to hotdoc 2019-05-13 11:34:56 -04:00
rtpjitterbuffer.c rtpjitterbuffer: Unlock output if the queue is full 2019-07-03 18:03:42 +00:00
rtpjitterbuffer.h rtpjitterbuffer: Unlock output if the queue is full 2019-07-03 18:03:42 +00:00
rtpsession.c rtpmanager: consider UDP and IP headers in bandwidth calculation 2019-08-02 17:22:51 +02:00
rtpsession.h rtpsession: Allow overriding NACK packet creation 2019-04-05 18:36:36 -04:00
rtpsource.c rtpmanager: consider UDP and IP headers in bandwidth calculation 2019-08-02 17:22:51 +02:00
rtpsource.h rtpsession: Send as many nack seqnum as possible 2019-04-05 14:53:09 +00:00
rtpstats.c rtpjitterbuffer: don't try and calculate packet-rate if seqnum are jumping 2019-06-12 11:39:31 +02:00
rtpstats.h rtpmanager: consider UDP and IP headers in bandwidth calculation 2019-08-02 17:22:51 +02:00