pub trait ObsEncoderTrait: ObsObjectTrait<Native = *mut obs_encoder> {
// Provided methods
fn codec(&self) -> Result<Option<String>, ObsError> { ... }
fn is_active(&self) -> Result<bool, ObsError> { ... }
}Provided Methods§
Sourcefn codec(&self) -> Result<Option<String>, ObsError>
fn codec(&self) -> Result<Option<String>, ObsError>
Returns the codec identifier reported by the live encoder instance.
fn is_active(&self) -> Result<bool, ObsError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".