webrtc: Configure transportsendbin latency internally
authorJan Schmidt <jan@centricular.com>
Thu, 20 Feb 2020 16:39:14 +0000 (03:39 +1100)
committerJan Schmidt <jan@centricular.com>
Fri, 21 Feb 2020 02:42:05 +0000 (13:42 +1100)
commit499be261cd00777e9eccafa455844ec4a1ff5a71
treeffe19aefbc2b486db42134554492c0432e3ab7ad
parentfbe7917a944f244f5da4eda9cc220f7ac3a90439
webrtc: Configure transportsendbin latency internally

Add latency configuration logic to transportsendbin to
isolate it from the overall pipeline latency. That means that
it configures minimum latency internally based on the
latency query, and sends a latency event upstream that
matches.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/1209
ext/webrtc/transportsendbin.c