pub struct SourceNormalizerPacketCapabilities {
pub supported_runtime_profiles: Vec<String>,
pub max_level: SourceNormalizerNormalizeLevel,
pub media_kinds: Vec<SourceNormalizerPacketMediaKind>,
pub codecs: Vec<String>,
pub bitstream_formats: Vec<DecoderBitstreamFormat>,
pub supports_seek: bool,
pub supports_flush: bool,
pub required_capabilities: SourceNormalizerRequiredCapabilities,
pub max_sessions: Option<u32>,
}Expand description
Capabilities advertised by a packet-stream source normalizer plugin.
Fields§
§supported_runtime_profiles: Vec<String>§max_level: SourceNormalizerNormalizeLevel§media_kinds: Vec<SourceNormalizerPacketMediaKind>§codecs: Vec<String>§bitstream_formats: Vec<DecoderBitstreamFormat>§supports_seek: bool§supports_flush: bool§required_capabilities: SourceNormalizerRequiredCapabilities§max_sessions: Option<u32>Implementations§
Source§impl SourceNormalizerPacketCapabilities
impl SourceNormalizerPacketCapabilities
Sourcepub fn supports_runtime_profile(&self, runtime_profile: &str) -> bool
pub fn supports_runtime_profile(&self, runtime_profile: &str) -> bool
Returns whether this plugin advertises a runtime profile.
Sourcepub fn supports_codec(&self, codec: &str) -> bool
pub fn supports_codec(&self, codec: &str) -> bool
Returns whether this plugin advertises a codec.
Sourcepub fn supports_media_kind(
&self,
media_kind: SourceNormalizerPacketMediaKind,
) -> bool
pub fn supports_media_kind( &self, media_kind: SourceNormalizerPacketMediaKind, ) -> bool
Returns whether this plugin advertises packet output for a media kind.
Sourcepub fn supports_bitstream_format(&self, format: &DecoderBitstreamFormat) -> bool
pub fn supports_bitstream_format(&self, format: &DecoderBitstreamFormat) -> bool
Returns whether this plugin advertises a packet bitstream format.
Trait Implementations§
Source§impl Clone for SourceNormalizerPacketCapabilities
impl Clone for SourceNormalizerPacketCapabilities
Source§fn clone(&self) -> SourceNormalizerPacketCapabilities
fn clone(&self) -> SourceNormalizerPacketCapabilities
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for SourceNormalizerPacketCapabilities
impl Default for SourceNormalizerPacketCapabilities
Source§fn default() -> SourceNormalizerPacketCapabilities
fn default() -> SourceNormalizerPacketCapabilities
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceNormalizerPacketCapabilities
impl<'de> Deserialize<'de> for SourceNormalizerPacketCapabilities
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SourceNormalizerPacketCapabilities
impl StructuralPartialEq for SourceNormalizerPacketCapabilities
Auto Trait Implementations§
impl Freeze for SourceNormalizerPacketCapabilities
impl RefUnwindSafe for SourceNormalizerPacketCapabilities
impl Send for SourceNormalizerPacketCapabilities
impl Sync for SourceNormalizerPacketCapabilities
impl Unpin for SourceNormalizerPacketCapabilities
impl UnsafeUnpin for SourceNormalizerPacketCapabilities
impl UnwindSafe for SourceNormalizerPacketCapabilities
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more