Trait webrtc_media::io::Writer

source ·
pub trait Writer {
    // Required methods
    fn write_rtp(&mut self, pkt: &Packet) -> Result<(), Error>;
    fn close(&mut self) -> Result<(), Error>;
}

Required Methods§

source

fn write_rtp(&mut self, pkt: &Packet) -> Result<(), Error>

source

fn close(&mut self) -> Result<(), Error>

Implementors§