Skip to content

webrtcsink: Refactor value retrieval to avoid lock poisoning

When setting an incorrect property name in settings, start_stream_discovery_if_needed would panic because it attempts to unwrap a poisoned lock for settings.

This refactor avoids that situation.

Thanks @fengalin for helping to debug this.

Merge request reports