mirror of
https://github.com/v0l/zap-stream-core.git
synced 2025-06-16 01:28:08 +00:00
fix: add default stream info to stream
This commit is contained in:
@ -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,
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user