Skip to content

Commit

Permalink
src: lib: stream: gst: utils: Increase timout for encode discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso committed Dec 9, 2024
1 parent 04a237d commit 8f529b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/stream/gst/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub async fn get_encode_from_rtspsrc(stream_uri: &url::Url) -> Option<VideoEncod
.expect("Fakesink not found in pipeline");
let pad = fakesink.static_pad("sink").expect("Sink pad not found");

let encode = tokio::time::timeout(tokio::time::Duration::from_secs(5), wait_for_encode(pad))
let encode = tokio::time::timeout(tokio::time::Duration::from_secs(15), wait_for_encode(pad))
.await
.ok()
.flatten();
Expand Down

0 comments on commit 8f529b2

Please sign in to comment.