Skip to content

webrtcsink: fix session not in place errors

The InPlace/Taken logic was introduced to avoid using an extra lock around the session, but it places expectations that are not always obvious to meet around when a session is expected to be taken or not.

Any code that expects to have access to the sessions at all times thus needs either extra logic in the session wrapper, or to maintain the state of the session outside of the session (eg mids).

This commit removes the logic, and wraps sessions in Arc>.

Merge request reports