A zero-dependency live media server and proxy that publishes, reads, converts, records and plays back streams over RTSP, RTMP, WebRTC, SRT, HLS and more.
stackia/rtp2httpd
Converts multicast RTP/RTSP and HLS IPTV streams into HTTP streams, with FCC fast channel change and a built-in web player.
- Stars
- 2,317
- Forks
- 375
- Open issues
- 45
- Last commit
- 6 days ago
What is it?
rtp2httpd is an IPTV relay server that turns multicast RTP/UDP and RTSP streams into standard HTTP streams, so they can be played in ordinary players and browsers. It can also reverse-proxy HLS sources from an internal network to LAN or public access. It is aimed at IPTV setups in mainland China and is compatible with the udpxy URL format, serving as a replacement for udpxy and msd_lite.
The server implements FCC (Fast Channel Change) so that paired with an operator's FCC server, channel switches are quick and playback starts sooner. It also generates M3U playlists from RTP/RTSP addresses, handles catch-up source URLs, and includes a web status dashboard and player.
Written in plain C with no dependencies, the program is small enough for routers, optical network terminals and NAS devices, and the web frontend is bundled into the binary.
Key features
- 01Converts RTP/UDP multicast and RTSP streams to HTTP streams.
- 02Implements FCC fast channel change for quicker switching.
- 03Generates M3U playlists and handles catch-up source addresses.
- 04Provides a web status dashboard showing client connections and logs.
- 05Includes a browser-based player with EPG and timeshift support.
- 06Written in C with no dependencies, suitable for embedded devices.
Use cases
- Watching a China IPTV multicast service on a phone or TV through an IPTV-optimized player.
- Running on an OpenWrt router or NAS to share IPTV streams across a home network.
- Relaying an internal HLS IPTV source so it can be watched from outside the LAN.
- Replacing udpxy or msd_lite with a lighter server that supports fast channel change.
Quick start
- 1
Read the installation guide for your platform on the official docs site
- 2
Follow the OpenWrt quick start guide to configure the server
- 3
Configure an M3U playlist, then open the built-in player at /player in a browser
Things to know
- Licensed under GPL-2.0, so modified or distributed binaries must come with source code.
- Multicast RTP/RTSP input requires an IPTV network setup, and FCC fast channel change needs operator support.
- Built-in player depends on browser decoding, so some channels may show no audio or a black screen.
Topics
FAQ
- What is rtp2httpd?
- Converts multicast RTP/RTSP and HLS IPTV streams into HTTP streams, with FCC fast channel change and a built-in web player. rtp2httpd is an IPTV relay server that turns multicast RTP/UDP and RTSP streams into standard HTTP streams, so they can be played in ordinary players and browsers. It can also reverse-proxy HLS sources from an internal network to LAN or public access. It is aimed at IPTV setups in mainland China and is compatible with the udpxy URL format, serving as a replacement for udpxy and msd_lite.
- Is rtp2httpd free to use? What license does it have?
- rtp2httpd is open source under the GPL-2.0 license. Check the license terms before using it in commercial products.
- Is rtp2httpd still maintained?
- Actively maintained. The last commit to rtp2httpd was on Nov 1, 2026.
- What can I use rtp2httpd for?
- Watching a China IPTV multicast service on a phone or TV through an IPTV-optimized player. Running on an OpenWrt router or NAS to share IPTV streams across a home network. Relaying an internal HLS IPTV source so it can be watched from outside the LAN. Replacing udpxy or msd_lite with a lighter server that supports fast channel change.
- How do I install rtp2httpd?
- Read the installation guide for your platform on the official docs site Follow the OpenWrt quick start guide to configure the server Configure an M3U playlist, then open the built-in player at /player in a browser
- Where can I get rtp2httpd?
- The source code and installation instructions are on GitHub: https://github.com/stackia/rtp2httpd
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A C++11 streaming media server and client framework that converts between RTSP, RTMP, HLS, HTTP-FLV, WebRTC, GB28181 and other live video protocols.
A camera streaming server that converts and relays video and audio between dozens of camera, RTSP, WebRTC, HLS, and HomeKit formats.
A self-hosted web player for streaming Live TV, movies and series from your Xtream Codes or M3U IPTV provider in the browser.
Local web viewer for Spanish digital TV and radio channels, with a programme guide, 4-channel multi-view, optional subtitles and an optional local AI assistant.
A pure Go implementation of the WebRTC API for building real-time audio, video and data peer-to-peer connections.