gst-plugins-rs/net
François Laignel 0c55ac9e31 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/1556>
2024-04-29 11:48:41 +03:00
..
aws aws: improve error message logs 2024-04-08 15:17:56 +03:00
hlssink3 Use workspace features for crates metadata/deps 2024-02-05 15:34:31 +01:00
ndi Fix a couple of compiler/clippy warnings with --no-default-features 2024-02-08 13:02:55 +02:00
onvif onvifmetadataparse: Reset state in PAUSED->READY after pad deactivation 2024-04-08 15:19:21 +03:00
raptorq Use workspace features for crates metadata/deps 2024-02-05 15:34:31 +01:00
reqwest reqwest: Update to reqwest 0.12 2024-04-08 15:17:31 +03:00
rtp rtpgccbwe: Add increasing_duration and counter to existing gst::log!() 2024-04-08 15:18:03 +03:00
rtsp Fix clippy warnings after upgrade to Rust 1.77 2024-04-08 15:15:26 +03:00
webrtc webrtcsink: don't panic with bitrate handling unsupported encoders 2024-04-29 11:48:41 +03:00
webrtchttp webrtchttp: Update to reqwest 0.12 2024-04-08 15:19:45 +03:00