Try with repeat iframes again

This commit is contained in:
QuantumEntangledAndy committed 2023-10-26 12:17:33 +07:00
1 parent a7d2574e88
commit 4cbf8d22dd
1 file changed
+3 -3
+3 -3
View File
@@ -429,9 +429,9 @@ async fn stream_run(
let thread_vid = vid.clone();
let mut thread_client_count = client_count.subscribe();
log::debug!("stream_config.fps: {}", stream_config.fps);
// let fallback_time = Duration::from_secs(3);
// let fallback_framerate =
// Duration::from_millis(1000u64 / std::cmp::max(stream_config.fps as u64, 5u64));
let fallback_time = Duration::from_secs(3);
let fallback_framerate =
Duration::from_millis(1000u64 / std::cmp::max(stream_config.fps as u64, 5u64));
if let Some(thread_vid) = thread_vid {
set.spawn(async move {
thread_client_count.activate().await?;