diff options
author | Guillaume Desmottes <guillaume@desmottes.be> | 2021-11-26 15:30:21 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume@desmottes.be> | 2021-11-26 15:45:22 +0100 |
commit | 33206c29115865cb2326cfc1260ae02fdfd288fc (patch) | |
tree | 6736017a4c7fec9876fc37ca73af8ae3b46ebed5 | |
parent | 216909011efa8eef6089f311e5046032719c73cb (diff) | |
download | libnice-33206c29115865cb2326cfc1260ae02fdfd288fc.tar.gz |
gstnicesink: disable drop out of segment on nicesink
It's very tricky and unintuitive to have webrtcbin not sending data
because of the segment.
Fix https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/907
-rw-r--r-- | gst/gstnicesink.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/gstnicesink.c b/gst/gstnicesink.c index abbc039..ab71358 100644 --- a/gst/gstnicesink.c +++ b/gst/gstnicesink.c @@ -205,6 +205,10 @@ gst_nice_sink_init (GstNiceSink *sink) sink->n_messages = 1; sink->messages = g_new (NiceOutputMessage, sink->n_messages); #endif + +#if GST_CHECK_VERSION (1,12,0) + gst_base_sink_set_drop_out_of_segment (GST_BASE_SINK (sink), FALSE); +#endif } static void |