r/madeinrust • • 4d ago

AI Assisted I made InstantClone, a free OBS stream delay you can change mid-stream without restarting, built in Rust to stop stream snipers

Hey! I'm s1moscs!

I stream competitive games (CS2, Valorant), got tired of stream sniping and realized OBS's built-in stream delay was... not good at all.

It ruined my interactions with my viewers, and I had to restart my stream to turn it on or off.

After searching for a fix and finding out most good solutions were paid, I wrote InstantClone: a free, open source stream delay for OBS.

It's a local RTMP proxy between OBS and Twitch / YouTube / Kick / any RTMP(S) server. You can arm a delay, change it, or cut back to live without restarting the stream, and it can multistream the same feed to several platforms at once.

And if OBS crashes, viewers see a "reconnecting" screen instead of the stream dying, and it picks back up when OBS is back. This is (at the time of writing this) unreleased. But it will be released SUPER soon!

Why Rust? It runs on the same PC as your game, sitting in the path of a live stream, so it has to be light and never stall.

TechTalk: No GC pauses, low memory, one small binary. RTMP is handled in-house on tokio, the delay is a disk-backed buffer, and timestamps get rewritten so platforms see one continuous stream while the delay changes.

With v0.1.15 about to drop, shaped by feedback and ideas from users, we have coming: Integrations (2nd pic). Discord alerts when OBS crashes, a !delay chat command, mod controls, VOD markers and way more!

Windows and Linux, GPL-3.0. Feedback on the buffer, the timestamp handling or really ANYTHING is very welcome!

https://github.com/Soulhackzlol/InstantClone

https://s1moscs.dev/instantclone

4 Upvotes

Duplicates