Skip to main content

MediaStreamsExt

Trait MediaStreamsExt 

Source
pub trait MediaStreamsExt<This>
where This: FormatPredicateAlg,
{ // Required method fn stream_role_format(&self, streams: MediaStreams) -> This::Predicate; }
Expand description

Derives the format predicate one set of stream roles requires.

Required Methods§

Source

fn stream_role_format(&self, streams: MediaStreams) -> This::Predicate

Defines the predicate accepting exactly the formats those roles require.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<This> MediaStreamsExt<This> for This
where This: FormatPredicateAlg,

Derives the format predicate one set of stream roles requires.