deepstream-services-library
deepstream-services-library copied to clipboard
webrtcbin blocks indefinitely when set back to a state of NULL if added dynamically to PLAYING Pipeline (webrtc plugin bug?)
There are two uses cases defined on the WebSocket Server API Reference page with two corresponding python examples:
- 1file_webrtc_connect_post_play.py
- 1file_webrtc_connect_pre_play.py
Use case 2. -- where the WebRTC Sink is added to the Pipeline prior to playing -- works without issue.
Use case 1. -- where the WebRTC Sink is dynamically added to a playing pipeline with the main-loop running -- will lead to a lockup when the wbrtcbin
gst-plugin is set back to a NULL state.
After considerable debugging and some research, the issue is believed to be in the GStreamer webrtcbin plugin. More information to follow.