pub trait Bridge: Send {
// Required method
fn push(&mut self, frame: Frame) -> Result<()>;
}Expand description
Bridges depacketized media frames from str0m to a hang broadcast track.
One bridge per m= line on the ingest side. The session loop calls
Bridge::push once per MediaData event
with the codec frame; the bridge handles any codec-specific transformations
(e.g. Annex-B to AVCC for H.264) and forwards the frame into the matching
moq-mux importer.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".