From a498dd8f53d878b718bd5b103957a54189e4c2b2 Mon Sep 17 00:00:00 2001 From: Steve Seguin Date: Sun, 11 Aug 2024 20:35:45 -0400 Subject: [PATCH] Update publish.py --- publish.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/publish.py b/publish.py index 23e2454..9290379 100644 --- a/publish.py +++ b/publish.py @@ -1282,7 +1282,6 @@ def on_frame_probe(pad, info): print(self.pipe) started = False - client['webrtc'] = self.pipe.get_by_name('sendrecv') client['qv'] = None client['qa'] = None client['encoder'] = False @@ -1321,7 +1320,7 @@ def on_frame_probe(pad, info): if Gst.version().minor > 18: tcvr.set_property("codec-preferences",caps) ## supported as of around June 2021 in gstreamer for answer side? - elif (not self.multiviewer) and client['webrtc']: + elif not self.multiviewer: client['webrtc'] = self.pipe.get_by_name('sendrecv') setup_ice_servers(client['webrtc']) pass