Introduction

TK Dynamic Delay is a production-ready buffer and replay system for OBS Studio on Windows that enables Twitch streamers to capture and replay past moments during live streaming.

Why TK Dynamic Delay?

During live streams, exciting moments happen that viewers would love to see again — a clutch play, a funny fail, or a highlight-worthy event. TK Dynamic Delay lets you replay those moments instantly by switching to a delayed scene in OBS:

  1. Stream Live — Your primary OBS output goes directly to Twitch as usual.
  2. Build Buffer — The Multiple Output plugin simultaneously sends a copy to the delay system via SRT.
  3. Replay On-Demand — Switch to the Delayed Scene in OBS to show viewers content from the past.
  4. Return Live — Switch back to the Live Scene to resume normal streaming.

How It Works

OBS (SRT:9000) → MediaMTX → HLS Segments → Controller → OBS Media Source (port 8080)

The system continuously buffers your stream using HLS segments. When you switch to the delayed scene, viewers see content from the configured number of seconds in the past.

Key Features

  • Live + Buffered Streaming — Stream live while building a delayed buffer in the background
  • Scene-Based Replay — Switch OBS scenes to show viewers content from the past
  • Dynamic Buffer Control — Adjust delay from 0 to 180 seconds in real-time via slider or presets
  • Web Dashboard — Browser-based control UI at http://localhost:8080
  • HLS-Based Buffering — Reliable segment-based delay using HTTP Live Streaming
  • Windows Services — Two services auto-start on boot and run in the background
  • REST API — Endpoints for delay control and status — StreamDeck-friendly
  • MSI Installer — Professional Windows installer

System Requirements

RequirementMinimum
OSWindows 11 23H2 (Build 22631)+
RAM4 GB (8 GB recommended)
Disk500 MB + 1–5 GB buffer space
OBS Studio28.0+ with Multiple Output plugin
Ports8080, 8888, 9000, 9997 (localhost)

Tech Stack

LayerTechnology
LanguageGo 1.24+ (pure Go, no CGO)
Windows Integrationgolang.org/x/sys/windows/svc
Media ServerMediaMTX v1.8.5
Streaming ProtocolsSRT (input), HLS (output)
Web DashboardEmbedded HTML (Go //go:embed)
Build SystemPowerShell scripts + Go compiler
InstallerWiX Toolset 3.14+ (MSI)

Next Steps

  • Installation — Install the system via MSI or build from source.
  • Quick Start — Get your first delayed replay running.
  • Architecture — Understand how the components fit together.