Skip to content

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

Merge request reports