Home
last modified time | relevance | path

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

/webrtc/stun/src/
H A Dagent.rs76 deadline: Instant, field
193 pub fn start(&mut self, id: TransactionId, deadline: Instant) -> Result<()> { in start()
202 .insert(id, AgentTransaction { id, deadline }); in start()
218 pub fn collect(&mut self, deadline: Instant) -> Result<()> { in collect()
233 if t.deadline < deadline { in collect()
269 ClientAgent::Collect(deadline) => agent.collect(deadline), in run()
270 ClientAgent::Start(tid, deadline) => agent.start(tid, deadline), in run()
/webrtc/stun/src/agent/
H A Dagent_test.rs75 let deadline = Instant::now().add(Duration::from_secs(3600)); in test_agent_start() localVariable
76 a.start(id, deadline)?; in test_agent_start()
78 let result = a.start(id, deadline); in test_agent_start()
93 let result = a.start(id, deadline); in test_agent_start()
141 let deadline = Instant::now().add(Duration::from_millis(200)); in test_agent_stop() localVariable
142 a.start(id, deadline)?; in test_agent_stop()
/webrtc/ice/src/util/
H A Dmod.rs51 deadline: Duration, in get_xormapped_addr()
53 let resp = stun_request(conn, server_addr, deadline).await?; in get_xormapped_addr()
64 deadline: Duration, in stun_request()
71 let (n, _) = if deadline > Duration::from_secs(0) { in stun_request()
72 match tokio::time::timeout(deadline, conn.recv_from(&mut bs)).await { in stun_request()
/webrtc/examples/examples/rtp-to-webrtc/
H A DREADME.md39 …-resilient=partitions keyframe-max-dist=10 auto-alt-ref=true cpu-used=5 deadline=1 ! rtpvp8pay ! u…
45 ffmpeg -re -f lavfi -i testsrc=size=640x480:rate=30 -vcodec libvpx -cpu-used 5 -deadline 1 -g 10 -e…
/webrtc/stun/benches/
H A Dbench.rs57 let deadline = Instant::now().add(Duration::from_secs(60 * 60 * 24)); in benchmark_agent() localVariable
58 let gc_deadline = deadline.sub(Duration::from_secs(1)); in benchmark_agent()
63 a.start(TransactionId::new(), deadline).unwrap(); in benchmark_agent()
78 a.start(TransactionId::new(), deadline).unwrap(); in benchmark_agent()