From 3368f55a888548425a43d6b40dd6e2d3b90ccb21 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Sat, 8 Apr 2023 01:32:33 +0200 Subject: [PATCH] webrtcsink: don't return value from error closure the signal doesn't expect a return value, which meant we were panicking as soon as the signaller tried to report an error. Part-of: --- net/webrtc/src/webrtcsink/imp.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/net/webrtc/src/webrtcsink/imp.rs b/net/webrtc/src/webrtcsink/imp.rs index eebb7a26..02c485d6 100644 --- a/net/webrtc/src/webrtcsink/imp.rs +++ b/net/webrtc/src/webrtcsink/imp.rs @@ -1415,7 +1415,6 @@ impl WebRTCSink { gst::StreamError::Failed, ["Signalling error: {}", error] ); - false }) ),