diff --git a/net/aws/src/transcriber/imp.rs b/net/aws/src/transcriber/imp.rs index 656217c8..aa2ea31a 100644 --- a/net/aws/src/transcriber/imp.rs +++ b/net/aws/src/transcriber/imp.rs @@ -21,6 +21,7 @@ use gst::subclass::prelude::*; use gst::{glib, prelude::*}; +use aws_sdk_s3::config::StalledStreamProtectionConfig; use aws_sdk_transcribestreaming as aws_transcribe; use futures::channel::mpsc; @@ -578,6 +579,9 @@ impl Transcriber { .or_else(DEFAULT_TRANSCRIBER_REGION), ); + let config_loader = + config_loader.stalled_stream_protection(StalledStreamProtectionConfig::disabled()); + let config = futures::executor::block_on(config_loader.load()); gst::debug!(CAT, imp = self, "Using region {}", config.region().unwrap());