gst-plugins-rs/net/webrtc/src/webrtcsink
Mathieu Duponchelle 1a8abde884 webrtcsink: fix panic on pre-bwe request error
We dispose of consumer pipelines asynchronously, potentially after the
session objects have been disposed of.

As session objects are the owner of the cc element, it is entirely
possible for the bwe-request signal to get emitted after cc has been
disposed of, as the closure only takes a weak reference to it.

Fix by simply checking if cc is None

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1044>
2023-01-11 15:09:45 +00:00
..
homegrown_cc.rs webrtc: Add SDPX license header on every file 2022-10-20 11:51:58 +02:00
imp.rs webrtcsink: fix panic on pre-bwe request error 2023-01-11 15:09:45 +00:00
mod.rs webrtc: Fix rustfmt errors 2022-12-27 11:12:54 +02:00