go back...

go-rtmp-server

What is this?

The purpose of this project was to reverse engineer and learn how a live streaming protocol works from scratch. Reading raw TCP bytes and decoding them.
RTMP is still the network protocol most encoders (OBS, hardware encoders, phones) use to push a live stream video to a server. This project implements the server side without an off-the-shelf RTMP library.

What’s implemented

What I’d do next

Read more

I wrote up the hardest parts in Building an RTMP server from scratch in Go.

© 2026 Andrew Song