WebRTC shmdata freeze with web client
Summary
Running a Switcher client with a communication with the example web client leads to frozen shmdata. However, two Switcher client together does not freeze.
How to reproduce ?
First, run the following script
#!/usr/bin/env python3
import pyquid
import time
sw = pyquid.Switcher('webrtc', debug=True)
w = sw.create("webrtc", "WebrtcClient")
w.set("signaling_server", "wss://dev.sip.scenic.sat.qc.ca:8443")
w.set("room", "RHtest")
vid = sw.create('videotestsrc', 'vid')
vid.set("resolution", 5)
vid.set("pattern", 18)
vid.set("started", True)
aud = sw.create('audiotestsrc', 'audio')
aud.set('volume', '0.6')
aud.set("wave", 8)
aud.set('started', True)
w.try_connect(aud)
w.try_connect(vid)
time.sleep(1)
w.set('started', True)
while(True):
time.sleep(1)
Before running the Web client, the websocket cetificate needs to be added as exception into the browser: https://dev.sip.scenic.sat.qc.ca:8443
Then go the Web client example here with Firefox, and connect to the RHtest room.
The video from the Switcher client display but freezes after less than a second. sdflow applied on Shmdata shows that event the video source Quiddity is frozen.
Expected behavior
The Video stream from the Switcher client is not frozen.
What is the frequency of occurrence of this behavior ?
Always
Other comment
None