gst-plugins-rs/net/webrtc/src
François Laignel 2ad452ee89 webrtcsink: don't panic with bitrate handling unsupported encoders
When an encoder was not supported by the `VideoEncoder` `bitrate` accessors, an
`unimplemented` panic would occur which would poison `state` & `settings`
`Mutex`s resulting in other threads panicking, notably entering `end_session()`,
which lead to many failures in `BinImplExt::parent_remove_element()` until a
segmentation fault ended the process. This was observed using `vaapivp9enc`.

This commit logs a warning if an encoder isn't supported by the `bitrate`
accessors and silently by-passes `bitrate`-related operations when unsupported.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1534>
2024-04-09 15:48:59 +00:00
..
aws_kvs_signaller aws: use fixed BehaviorVersion 2024-03-26 17:44:16 +01:00
janusvr_signaller webrtc: janus: handle 'hangup' messages from Janus 2024-03-13 10:14:38 +00:00
livekit_signaller livekit_signaller: Added missing getter for excluded-producer-peer-ids 2024-03-04 10:08:11 -07:00
signaller Update for GLib prelude re-organization 2024-02-03 12:30:15 +02:00
webrtcsink webrtcsink: don't panic with bitrate handling unsupported encoders 2024-04-09 15:48:59 +00:00
webrtcsrc webrtcsrc: change the producer-id type for request-encoded-filter 2024-04-09 06:01:15 +00:00
whip_signaller webrtc: update further to WebRTCSessionDescription sdp accessor changes 2024-03-11 13:39:19 +01:00
lib.rs Use once_cell crate directly again 2024-01-31 18:07:57 +02:00
utils.rs Use once_cell crate directly again 2024-01-31 18:07:57 +02:00