Home
last modified time | relevance | path

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

/webrtc/interceptor/src/mock/
H A Dmock_stream.rs27 rtp_in_tx: Mutex<Option<mpsc::Sender<rtp::packet::Packet>>>, field
40 let (rtp_in_tx, rtp_in_rx) = mpsc::channel(1000); in new()
53 rtp_in_tx: Mutex::new(Some(rtp_in_tx)), in new()
185 let rtp_in_tx = self.rtp_in_tx.lock().await; in receive_rtp() localVariable
186 if let Some(tx) = &*rtp_in_tx { in receive_rtp()
240 let mut rtp_in_tx = self.rtp_in_tx.lock().await; in close() localVariable
241 rtp_in_tx.take(); in close()