pub trait CodecProbe {
// Required method
fn plays(&self, codec: &str) -> bool;
}Expand description
A device’s player, asked about an RFC 6381 codec string
(ClientCapabilities::probe): VideoToolbox and AVURLAsset,
MediaCodecList, GStreamer. Any Fn(&str) -> bool is one.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".