Home
last modified time | relevance | path

Searched refs:rtp_writer (Results 1 – 2 of 2) sorted by relevance

/webrtc/interceptor/src/mock/
H A Dmock_stream.rs17 rtp_writer: Mutex<Option<Arc<dyn RTPWriter + Send + Sync>>>, field
50 rtp_writer: Mutex::new(None), in new()
73 let rtp_writer = interceptor in new() localVariable
80 let mut rw = stream.rtp_writer.lock().await; in new()
81 *rw = Some(rtp_writer); in new()
167 let rtp_writer = self.rtp_writer.lock().await; in write_rtp() localVariable
168 if let Some(writer) = &*rtp_writer { in write_rtp()
/webrtc/interceptor/src/stats/
H A Dinterceptor.rs749 rtp_writer: Arc<dyn RTPWriter + Send + Sync>, field
754 fn new(rtp_writer: Arc<dyn RTPWriter + Send + Sync>, tx: mpsc::Sender<Message>) -> Self { in new()
755 Self { rtp_writer, tx } in new()
769 let n = self.rtp_writer.write(pkt, attributes).await?; in write()