Skip to content

webrtcsink: don't block the tokio runtime while holding state lock in unprepare()

It is possible that in unprepare(), waiting for a task to complete while holding the state lock, that task may be waiting to acquire the state lock and result in a deadlock.

This is quick to reproduce when starting and stopping webrtcsink in very quick succession.

Merge request reports

Loading