OBS Setup

Prerequisites

  • OBS Studio 28.0+
  • Multiple Output Plugin (obs-multi-rtmp)
  • TK Dynamic Delay installed and running

Plugin Installation

  1. Download obs-multi-rtmp from GitHub releases.
  2. Extract and copy to your OBS plugins directory.
  3. Restart OBS Studio.
  4. Verify: Tools → Multiple output should appear.

Stream Output Configuration

Primary Stream (Twitch)

Configure your normal Twitch output in Settings → Stream as usual.

SRT Output for Delay System

In Tools → Multiple output, add a new target:

SettingValue
NameSRT Delay System
ProtocolSRT/RIST
URLsrt://localhost:9000?streamid=publish:srt
Stream Key(leave blank)
Use authenticationUnchecked

In Settings → Output → Streaming:

SettingRecommended Value
Encoderx264
Rate ControlCBR
Bitrate4500–6000 Kbps
Keyframe Interval2 seconds (critical)
CPU Presetveryfast to medium
Profilemain

Important: The keyframe interval must be set to 2 seconds for accurate delay operation.

Scene Setup

Live Scene

Your regular streaming scene with all sources:

  • Display/Game Capture
  • Camera
  • Overlays
  • Audio sources

Delayed Scene

Add a Media Source with these settings:

SettingValue
Inputhttp://localhost:8080/hls/delayed.m3u8
Local FileOFF
Restart playback when source becomes activeON
Network Caching2000 ms
Hardware decodingON

Advanced Scene Ideas

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.

Hotkey Setup

Assign hotkeys for quick scene switching:

HotkeyAction
F1Switch to Live Scene
F2Switch to Delayed Scene

Testing

Pre-Stream Checklist

  1. Verify services running: Get-Service StreamDelay*
  2. Open dashboard: http://localhost:8080
  3. Start OBS preview
  4. Verify SRT connection in Multiple Output
  5. Check delayed stream Media Source
  6. Verify delay accuracy with a timer

Performance Expectations

ComponentCPU Usage
OBS (streaming)10–30%
MediaMTX5–15%
Delay services< 5%

Troubleshooting

ProblemSolution
Black screen in Media SourceCheck services are running; verify URL; increase Network Caching to 3000 ms
Plugin not connectingVerify URL srt://127.0.0.1:9000; check SRT port; review logs
Delay not accurateKeyframe interval must be 2s; wait for buffer to fill
StutteringReduce encoding load; use SSD; increase Network Caching
Audio/Video desyncUse consistent FPS; CBR encoding; check audio sync filters