<div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">Thanks for trying this out. </div><div dir="auto"><br></div><div dir="auto">We discovered a bug with whipwebrtcsink (and whipsink) that got exposed because of one of the recent changes.</div><div dir="auto"><br></div><div dir="auto">More information about this issue is captured here - <a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/394" target="_blank" rel="noreferrer">https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/394</a> to track this bug.<br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 29 Jul, 2023, 18:33 GST Developer, <<a href="mailto:gstreamer@gallery.co.uk" target="_blank" rel="noreferrer">gstreamer@gallery.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-break:after-white-space">Hi Tarun<div><br></div><div>We have finally got things up and running with GStreamer 1.22 as you advised, and indeed the 'request-aux-sender' issue has gone away.</div><div><br></div><div>Now we have a different issue, which might be some specific compatibility with <a href="http://Dolby.io" rel="noreferrer noreferrer" target="_blank">Dolby.io</a> (formerly millicast).</div><div><br></div><div>Here is what we get - the pipeline runs for a few seconds before failing:</div><div><br></div><div><br></div><div><p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">gst-launch-1.0 ndisrc ndi-name="PRIMARY (SIGGEN)" ! ndisrcdemux name=demux demux.video ! queue ! videoconvert ! whipwebrtcsink name=ws signaller::whip-endpoint="<a href="https://director.millicast.com/api/whip/myStreamName" rel="noreferrer noreferrer" target="_blank">https://director.millicast.com/api/whip/myStreamName</a>",auth-token="......redacted......" demux.audio ! queue ! audioconvert ! ws.</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;min-height:15px">Setting pipeline to PAUSED ...<span style="font-variant-ligatures:no-common-ligatures"></span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">Pipeline is live and does not need PREROLL ...</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">Pipeline is PREROLLED ...</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">Setting pipeline to PLAYING ...</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">New clock: GstSystemClock</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">Redistribute latency...</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">Redistribute latency...</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">Redistribute latency...</span></p><p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures"><b>ERROR: from element /GstPipeline:pipeline0/GstWhipWebRTCSink:ws: GStreamer encountered a general stream error.</b></span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures"><b>Additional debug info:</b></span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures"><b>net/webrtc/src/webrtcsink/<a href="http://imp.rs" rel="noreferrer noreferrer" target="_blank">imp.rs</a>(1493): gstrswebrtc::webrtcsink::imp::BaseWebRTCSink::connect_signaller::{{closure}}::{{closure}} (): /GstPipeline:pipeline0/GstWhipWebRTCSink:ws:</b></span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures"><b>Signalling error: Error: Error None (Some("Old Canceller should not exist")) at net/webrtc/src/<a href="http://utils.rs:131" rel="noreferrer noreferrer" target="_blank">utils.rs:131</a></b></span></p><p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">Execution ended after 0:00:02.911160133</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">Setting pipeline to NULL ...</span></p>
<p style="margin:0px;font-style:normal;font-variant-caps:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span style="font-variant-ligatures:no-common-ligatures">Freeing pipeline ...</span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">Any ideas ?</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div>Many thanks !</div><div><br></div><div> <div><b><br style="font-size:15px"></b><blockquote type="cite" style="font-size:15px"><div><b>On 15 Jul 2023, at 15:44, Tarun Tej K <<a href="mailto:tarun4690@gmail.com" rel="noreferrer noreferrer" target="_blank">tarun4690@gmail.com</a>> wrote:</b></div><b><br></b><div><div dir="auto"><div><b>Ok, you will need Gstreamer version 1.22 for this, where webrtcbin has this signal 'request-aux-sender' implemented.</b></div><div dir="auto"><b><br></b></div></div></div></blockquote><div><br></div><br><blockquote type="cite"><div><div dir="auto"><div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sat, 15 Jul, 2023, 19:53 GST Developer, <<a href="mailto:gstreamer@gallery.co.uk" rel="noreferrer noreferrer" target="_blank">gstreamer@gallery.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-break:after-white-space"><div><div>Thanks Tarun,</div><div><br></div><div><b>we are making progress </b>- this pipeline <b>does</b> startup, but it fails after a few seconds:</div><div><b><br></b></div><div><b>gst-launch-1.0 ndisrc ndi-name="NDIPE8 (SIGGEN)" ! ndisrcdemux name=demux demux.video ! queue ! videoconvert ! whipwebrtcsink name=ws signaller::whip-endpoint="<a href="https://director.millicast.com/api/whip/myStreamName" rel="noreferrer noreferrer noreferrer" target="_blank">https://director.millicast.com/api/whip/myStreamName</a>",auth-token=“..redacted.." demux.audio ! queue ! audioconvert ! ws.</b></div><div><br></div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is live and does not need PREROLL ...</div><div>Pipeline is PREROLLED ...</div><div>Setting pipeline to PLAYING ...</div><div>New clock: GstSystemClock</div><div>Redistribute latency...</div><div>Redistribute latency...</div><div>Redistribute latency…</div><div><br></div><div><i><b><it runs fine here for a few seconds with the numbers running></b></i></div><div><br></div><div>thread 'tokio-runtime-worker' panicked at 'Signal 'request-aux-sender' of type 'GstWebRTCBin' not found', /home/ubuntu/.cargo/git/checkouts/gtk-rs-core-7be42ca38bd6361c/44c4ab3/glib/src/object.rs:2642:32</div><div>note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace</div><div>thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: PoisonError { .. }', net/webrtc/src/webrtcsink/imp.rs:3013:47</div><div>ERROR: from element /GstPipeline:pipeline0/GstWhipWebRTCSink:ws: Panicked: called `Result::unwrap()` on an `Err` value: PoisonError { .. }</div><div>thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: PoisonError { .. }', net/webrtc/src/webrtcsink/imp.rs:3013Execution ended after 0:00:01.886767934</div><div>:47Setting pipeline to NULL ...</div><div><br></div><div>ERROR: from element /GstPipeline:pipeline0/GstWhipWebRTCSink:ws: Panicked</div><div>ERROR: from element /GstPipeline:pipeline0/GstWhipWebRTCSink:ws: Panicked</div><div>ERROR: from element /GstPipeline:pipeline0/GstWhipWebRTCSink:ws: Panicked: called `Result::unwrap()` on an `Err` value: PoisonError { .. }</div><div>ERROR: from element /GstPipeline:pipeline0/GstWhipWebRTCSink:ws: Panicked</div><div>Freeing pipeline …</div><div><br></div><div><br></div></div></div></blockquote></div></div></div></div></blockquote></div><br></div></div></blockquote></div>