Skip to content

okdargy/OpenDelay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenDelay Logo

OpenDelay is a minimal RTMP bridge with configurable delay

Instantly switch between low-latency and high-delay streaming modes without restarting your stream.

⚙️ Setup

OBS (Open Broadcaster Software)

Click on Settings > Stream > ...then select Custom in the Service dropdown

Next, change your server the following, unless changed in OpenDelay's config:

rtmp://127.0.0.1:1935/live

Finally, keep your Stream Key the same as that will be forwarded by OpenDelay to your destination server.

🙋 How does it work?

All data first goes through OpenDelay, which buffers the stream in memory. The configured delay determines how far back in the buffer playback starts.

Increasing delay rewinds playback to an older buffered point (when available in memory), decreasing delay moves playback forward toward live content. This allows seamless switching between low-latency and high-delay modes without interrupting the stream.

🔨 Build

Don't want to use the pre-built binaries? You can build OpenDelay from source using Rust's cargo:

git clone https://github.com/okdargy/OpenDelay
cd OpenDelay
cargo build --release

🧩 Integration

OpenDelay provides a simple REST API for real-time control and integration with external tools. You can check the current delay or adjust the delay through HTTP requests:

curl "http://127.0.0.1:1936/delay"
curl -X POST "http://127.0.0.1:1936/delay?seconds=60"

About

Instantly add or remove delay from your RTMP stream with no downtime

Topics

Resources

Stars

Watchers

Forks

Languages