mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
webrtc_sendrecv.py: Print an error on unknown JSON message
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1864>
This commit is contained in:
parent
90da0e1d1e
commit
e0378f9913
1 changed files with 2 additions and 0 deletions
|
@ -220,6 +220,8 @@ class WebRTCClient:
|
|||
candidate = ice['candidate']
|
||||
sdpmlineindex = ice['sdpMLineIndex']
|
||||
self.webrtc.emit('add-ice-candidate', sdpmlineindex, candidate)
|
||||
else:
|
||||
print_error('Unknown JSON message')
|
||||
|
||||
def close_pipeline(self):
|
||||
if self.pipe:
|
||||
|
|
Loading…
Reference in a new issue