Lines Matching refs:ssrc
105 opt = close_stream => if let Some(ssrc) = opt { in new()
106 Session::close_stream(&cloned_streams_map, ssrc).await in new()
124 async fn close_stream(streams_map: &Arc<Mutex<HashMap<u32, Arc<Stream>>>>, ssrc: u32) { in close_stream()
126 streams.remove(&ssrc); in close_stream()
151 vec![rtp::header::Header::unmarshal(&mut buf)?.ssrc] in incoming()
157 for ssrc in ssrcs { in incoming()
159 Session::get_or_create_stream(streams_map, close_stream_tx.clone(), is_rtp, ssrc) in incoming()
165 ssrc in incoming()
188 ssrc: u32, in get_or_create_stream()
192 if let Some(stream) = streams.get(&ssrc) { in get_or_create_stream()
195 let stream = Arc::new(Stream::new(ssrc, close_stream_tx, is_rtp)); in get_or_create_stream()
196 streams.insert(ssrc, Arc::clone(&stream)); in get_or_create_stream()
203 pub async fn open(&self, ssrc: u32) -> Arc<Stream> { in open()
208 ssrc, in open()
269 for ssrc in p.destination_ssrc() { in destination_ssrc()
270 ssrc_set.insert(ssrc); in destination_ssrc()