Optimisation of the UDP acknoledgment flushing

This commit is contained in:
QuantumEntangledAndy committed 2023-08-12 11:06:28 +07:00
1 parent e093151db6
commit 623fcb3fd1
2 files changed
+66 -55

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ impl Camera<Streaming> {
loop {
tokio::task::yield_now().await;
// debug!("Straming: Get");
let data = timeout(Duration::from_secs(15), stream_data.get_data())
let data = timeout(Duration::from_secs(90), stream_data.get_data())
.await
.with_context(|| "Timed out waiting for new Media Frame")??;
// debug!("Straming: Got");