mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 19:41:00 +00:00
9a59763df1
`State::finalize_session()` asynchronously sets the Session pipeline to Null. In some cases, sessions `webrtcbin` could terminate their transition to Null after `webrtcsink` had reached Null. This commit adds a set of `finalizing_sessions`. When the finalization process starts, the session is added to the set. After `webrtcbin` has reached the Null state, the session is removed from the set and a condvar is notified. In `unprepare`, `webrtcsink` loops until the `finalizing_sessions` set is empty, awaiting for the condvar to be notified when it's not. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1221> |
||
---|---|---|
.. | ||
aws | ||
hlssink3 | ||
ndi | ||
onvif | ||
raptorq | ||
reqwest | ||
rtp | ||
webrtc | ||
webrtchttp |