fix(stream): preserve live outputs and disable idle exit by default
Preserve RTP/RTMP session continuity across upstream stream_reset events by forcing a keyframe on restart, remapping live timestamps, and keeping live outputs open when the runtime requests reset continuity. Disable idle auto-exit by default by changing ingest_idle_timeout_ms to 0, removing validation that rejected 0, and only enforcing idle shutdown when a positive timeout is configured in pipeline and ingest loops. Also suppress libavformat FLV trailer header backfill attempts on RTMP sockets and update the RTP output tester for the newer publisher create signature. Docs are updated to state that 0 disables the idle timeout.
This commit is contained in:
@@ -512,7 +512,7 @@ Run the fault injection and latency validation suite.
|
||||
| Flag | Description | Default |
|
||||
|------|-------------|---------|
|
||||
| `--ingest-max-frames N` | Process at most N frames then exit | 0 (unlimited) |
|
||||
| `--ingest-idle-timeout-ms MS` | Exit if idle for MS milliseconds | 0 (disabled) |
|
||||
| `--ingest-idle-timeout-ms MS` | Exit if idle for MS milliseconds; 0 disables the timeout | 0 (disabled) |
|
||||
|
||||
## Architecture
|
||||
|
||||
|
||||
Reference in New Issue
Block a user