async fn write(&self, mut b: &[u8]) -> Result<usize> {
        let pkt = rtp::packet::Packet::unmarshal(&mut b)?;
        self.write_rtp(&pkt).await?;
        Ok(b.len())
    }
/// write writes a RTP Packet as a buffer to the TrackLocalStaticRTP
/// If one PeerConnection fails the packets will still be sent to
/// all PeerConnections. The error message will contain the ID of the failed
/// PeerConnections so you can remove them
write writes a RTP Packet as a buffer to the TrackLocalStaticRTP
If one PeerConnection fails the packets will still be sent to
all PeerConnections. The error message will contain the ID of the failed
PeerConnections so you can remove them
write writes a RTP Packet as a buffer to the TrackLocalStaticRTP If one PeerConnection fails the packets will still be sent to all PeerConnections . The error message will contain the ID of the failed PeerConnections so you can remove them
async fn write(&self, mut b: &[u8]) -> Result<usize> {
        let pkt = rtp::packet::Packet::unmarshal(&mut b)?;
        self.write_rtp(&pkt).await?;
        Ok(b.len())
    }
async fn write ( & self , mut b : & [ u8 ] ) -> Result < usize > { let pkt = rtp :: packet :: Packet :: unmarshal ( & mut b ) ? ; self . write_rtp ( & pkt ) . await ? ; Ok ( b . len ( ) ) }
write writes a RTP Packet as a buffer to the TrackLocalStaticRTP
If one PeerConnection fails the packets will still be sent to
all PeerConnections.
write writes a RTP Packet as a buffer to the TrackLocalStaticRTP If one PeerConnection fails the packets will still be sent to all PeerConnections .
&self
b
&[u8]