What is Red5? The open source media server explained
Red5 powered a whole generation of webcam chats, live shows and recorders. Here’s what the server does, what it’s still good for after Flash, and when you need something else.
Red5 in one paragraph
Red5 is a free, open source media server written in Java. It receives and sends live audio and video over RTMP (and its variants RTMPT and RTMPS), records streams to files, plays back video on demand and shares data between connected users. It is published under the Apache 2.0 licence, so you can use it in commercial projects.
A short history
Red5 started in 2005 as an open source alternative to Macromedia’s Flash Communication Server, later Adobe Flash Media Server. Developers reverse-engineered the RTMP protocol so that any Flash application could stream to a free server. It quickly became the engine of webcam chats, video conferencing tools, e-learning platforms and online games.
When browsers removed Flash Player at the end of 2020, the Flash clients disappeared – but the server lived on. Red5 is still maintained on GitHub, and a commercial edition, Red5 Pro, adds WebRTC and large-scale clustering.
What Red5 is still used for
- RTMP ingest – OBS Studio, hardware encoders and many IP cameras still publish in RTMP. Red5 can receive those streams.
- Recording – saving live streams to FLV or MP4 files for replay or archiving.
- Server-side applications – Java code that reacts to connections, shared objects and stream events.
- Legacy systems – keeping an older RTMP workflow running while its clients are replaced.
Installing Red5: the essentials
- Install a current Java runtime (JDK) on a Linux or Windows server.
- Download the latest release from the Red5 project on GitHub and unpack it.
- Start the server with the
red5.shscript (orred5.baton Windows). - Open the ports in your firewall: 1935 for RTMP and 5080 for the built-in HTTP server by default.
- Deploy your application in the
webappsfolder and restart.
For production, run Red5 as a system service, put it behind a proper domain with TLS (RTMPS), and monitor memory: Java applications need a sensible heap size.
Red5 and the browser today
A plain web page can no longer speak RTMP. To show live video in a browser you need WebRTC (for real-time conversation) or HLS/DASH (for one-to-many broadcasts with a few seconds of delay). Open source Red5 does not provide WebRTC; Red5 Pro does, and so do servers such as Janus, mediasoup or LiveKit.
For a webcam chat, the server is only half the job: you also need rooms, nicknames, moderation and a mobile-friendly interface. That’s why most sites now pick a hosted chat. Our guide on replacing a Red5 or Flash chat compares both paths.
Red5 Chat, the project behind this site
Red5 Chat was one of the best-known Flash webcam chats built on Red5: multi-webcam rooms, private messages, moderation and custom skins, installed on thousands of sites. Its team now builds Dialogoo and HTML5-Chat, which keep the same ideas in pure HTML5 and WebRTC – no media server to install.