MasterStream
A restreaming service for Iranian creators, with over 16,000 users as of November 2026. It sends one live feed to multiple platforms at the same time, including Twitch, YouTube and Aparat.
The work behind MasterStream
I founded MasterStream in August 2020. I designed and built the website, developed the RTMP streaming system and configured servers across multiple locations.
MasterStream's streaming servers have been listed in OBS Studio since 2023.
- August 2020 · Launch
Launched the service with a PHP website and a Node.js / FFmpeg streaming setup to send live broadcasts to several platforms at once.
- 2023 · Custom streaming engine
Using Adobe's RTMP documentation, I built my own custom RTMP server from scratch in Python, with no dependency on FFmpeg.
- August 2025 · Website and dashboard
Rebuilt the website backend, upgraded PHP from 7.4 to 8.4 and redesigned the user dashboard. The frontend update used Barba.js and Webpack.
- August 2025 · Streaming protocols
Optimized the Python engine and added Enhanced RTMP v1/v2 support, including video formats such as HEVC, AV1 and VP9. Added multitrack audio/video support compatible with Amazon IVS in private beta.
- August 2025 · Live controls and supporting tools
Added controls to disconnect, reconnect or mute individual destinations without stopping the other broadcasts. I also rewrote the Node.js services used for supporting tools such as combined chat, customizable overlays and viewer counters. These tools run separately from the streaming engine.
- October 2026 · Go rewrite
Rewrote the main streaming engine from scratch in Go, replacing the custom Python engine introduced in 2023, and rewrote large parts of the website. The update also added Xray-core protocol support, load balancing and custom connection handshakes to work around deep packet inspection (DPI) filtering and help maintain streams on restricted Iranian networks.