From 5871d0566df5f868e8463c8acfd088449587e633 Mon Sep 17 00:00:00 2001 From: QuantumEntangledAndy Date: Thu, 12 Oct 2023 14:21:41 +0700 Subject: [PATCH] Wait longer for frame repeat --- src/rtsp/stream.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rtsp/stream.rs b/src/rtsp/stream.rs index 46004c7..360c245 100644 --- a/src/rtsp/stream.rs +++ b/src/rtsp/stream.rs @@ -406,7 +406,7 @@ async fn stream_run( ) ) ), - Duration::from_secs(1) + Duration::from_secs(3) ), &thread_vid) => { v @@ -560,8 +560,8 @@ fn frametime_stream> + Unpin>( } // This will take a stream and if there is a notibable lack of data -// then it will repeat the last keyframe (if there have been no) -// pframes in between +// then it will repeat the last keyframe (if there have been no +// pframes in between) fn repeat_keyframe> + Unpin>( mut stream: T, fallback_time: Duration,