webrtc-sendrecv: can't handle the streams and segfaults shortly after connection establishment (macOS)
On macOS, the webrtc-sendrecv C demo fails to handle the audio and video streams on macOS and segfaults shortly after establishing the connection.
Trying to handle stream with audioconvert ! autoaudiosinkTrying to handle stream with videoconvert ! autovideosink[1] 11394 segmentation fault ./build/webrtc/sendrecv/gst/webrtc-sendrecv --server=wss://localhost:8443`
The error happens both with Chrome (90.0) and Firefox (78.11esr) after playing the video shortly: about 1s with Chrome and 3s with Firefox.
I'm using the tag 1.18, also tried on Ubuntu 20.04 and there everything works fine with 1.18.
This error seems to be very similar to the issue here in the archived repo but the mentioned fix there is already integrated in the 1.18 version here and doesn't solve the issue.
Logs with GST_DEBUG log level 6: webrtc-sendrecv.log
Logs from the Chrome console: chrome.log
I'm using macOS Big Sur (11.2) with GStreamer 1.18.0 installed from the pkg file.