fix: add default stream info to stream

This commit is contained in:
2025-06-12 17:25:28 +01:00
parent 09577cc2c8
commit a7ff18b34c
3 changed files with 10 additions and 2 deletions

View File

@ -201,7 +201,9 @@ impl RtmpClient {
self.published_stream = Some(RtmpPublishedStream(app_name, stream_key));
}
}
ServerSessionEvent::PublishStreamFinished { .. } => {}
ServerSessionEvent::PublishStreamFinished { .. } => {
// TODO: shutdown pipeline
}
ServerSessionEvent::StreamMetadataChanged {
app_name,
stream_key,

View File

@ -32,7 +32,7 @@ use tokio::runtime::Handle;
use uuid::Uuid;
/// Idle mode timeout in seconds
const IDLE_TIMEOUT_SECS: u64 = 600;
const IDLE_TIMEOUT_SECS: u64 = 60;
/// Circuit breaker threshold for consecutive decode failures
const DEFAULT_MAX_CONSECUTIVE_FAILURES: u32 = 50;