Title here
Summary here
Configure your normal Twitch output in Settings → Stream as usual.
In Tools → Multiple output, add a new target:
| Setting | Value |
|---|---|
| Name | SRT Delay System |
| Protocol | SRT/RIST |
| URL | srt://localhost:9000?streamid=publish:srt |
| Stream Key | (leave blank) |
| Use authentication | Unchecked |
In Settings → Output → Streaming:
| Setting | Recommended Value |
|---|---|
| Encoder | x264 |
| Rate Control | CBR |
| Bitrate | 4500–6000 Kbps |
| Keyframe Interval | 2 seconds (critical) |
| CPU Preset | veryfast to medium |
| Profile | main |
Important: The keyframe interval must be set to 2 seconds for accurate delay operation.
Your regular streaming scene with all sources:
Add a Media Source with these settings:
| Setting | Value |
|---|---|
| Input | http://localhost:8080/hls/delayed.m3u8 |
| Local File | OFF |
| Restart playback when source becomes active | ON |
| Network Caching | 2000 ms |
| Hardware decoding | ON |
Picture-in-Picture: Add the delayed Media Source as a small overlay in your Live Scene for monitoring.
Comparison View: Create a side-by-side scene with both live capture and delayed source for a replay effect.
Assign hotkeys for quick scene switching:
| Hotkey | Action |
|---|---|
| F1 | Switch to Live Scene |
| F2 | Switch to Delayed Scene |
Get-Service StreamDelay*http://localhost:8080| Component | CPU Usage |
|---|---|
| OBS (streaming) | 10–30% |
| MediaMTX | 5–15% |
| Delay services | < 5% |
| Problem | Solution |
|---|---|
| Black screen in Media Source | Check services are running; verify URL; increase Network Caching to 3000 ms |
| Plugin not connecting | Verify URL srt://127.0.0.1:9000; check SRT port; review logs |
| Delay not accurate | Keyframe interval must be 2s; wait for buffer to fill |
| Stuttering | Reduce encoding load; use SSD; increase Network Caching |
| Audio/Video desync | Use consistent FPS; CBR encoding; check audio sync filters |