Skip to content

Commit

Permalink
Update publish.py
Browse files Browse the repository at this point in the history
  • Loading branch information
steveseguin authored Aug 12, 2024
1 parent 3604a16 commit a498dd8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a498dd8

Please sign in to comment.