Products >> Media Server

Media Server - Lightweight Streaming Server for RTSP, RTMP, SRT & HLS

Happytime Media Server is a streaming server that outputs RTSP,RTMP,SRT,HTTP-FLV,HLS and WebRTC streams. It supports a wide range of media file formats, supports H265,H264,MP4,MJPEG video codec, G711,G722,G726,AAC,OPUS audio codec. It is compatible with standard RTSP,RTMP,SRT,HTTP-FLV,HLS and WebRTC media clients.
Happytime Media Server is developed based on multi-threading, which optimizes the utilization of system resources and ensures the stability and reliability of the server during long-term operation. It can maintain excellent performance in both high-concurrency scenarios and complex network environments.
Happytime Media Server supports RTSP / RTMP / SRT proxy functions, allowing the server to easily achieve multi-level deployment and meet the growing demand for server expansion.
Happytime Media Server for Android

Support streaming video from camera and live screen
Support RTSP/RTMP stream to SRT/HTTP-FLV/HLS/WebRTC stream
Support media proxy on-demand connection
Support RTSP/RTMP/SRT relay, RTSP/RTMP/SRT proxy function
Support Secure Real-time Transport Protocol (secure RTP or SRTP)
Support RTSPS (RTSP over SSL/TLS)
user manual download X86 download X64 download linux download apk buy relase buy code

Key Features of Media Server

Multi-Protocol Support: RTSP, RTMP, SRT, HLS, HTTP-FLV, RTP, WebRTC
Protocol Conversion: RTMP to RTSP, RTSP to HLS, SRT to RTMP, RTSP/RTMP to WebRTC etc.
Multi-Source Input: IP cameras, media files, desktop/screen, microphones
Streaming Relay & Proxy: RTSP/RTMP/SRT proxy with on-demand connection
Secure Streaming: SRTP, RTSPS (RTSP over TLS), RTSP over HTTPS/WebSocket
ONVIF Playback: Compatible with ONVIF-compliant cameras
Automatic Transcoding: Adapt to different devices and bandwidths
Cross-Platform: Runs on Windows, Linux, macOS, Android, iOS, Embedded

Technical specifications of Media Server

1. Programming language: C/C++
2. Video codec support: H.265 (HEVC), H.264 (AVC), MP4, MJPEG (Motion JPEG)
3. Audio codec support: G711 (u-law and a-law), G722, G726, AAC (Advanced Audio Coding), OPUS
4. Streaming media proxy function: RTSP proxy, RTMP proxy, SRT proxy, MJPEG streaming proxy
5. Additional functions: Support recording Windows system sound, audio and video output parameter configuration, audio back channel, RTSP over HTTP/HTTPS, RTSP over WebSocket, RTP multicast, RTSP/RTMP/SRT protocol stream push, ONVIF audio/video playback, support mutual conversion between protocols, support RTSP/RTMP/SRT stream relay, support automatic transcoding function, IPv6, HTTP notify, SRTP.

Function chart of Media Server

media server function chart

Use Cases & Applications

Video Surveillance: Stream RTSP from IP cameras to NVR or web client
Live Streaming: Push from OBS (RTMP) to CDN or internal network
Edge Media Gateway: Convert SRT/RTMP to RTSP for legacy systems
Education & Remote Work: Share screen + camera via RTSP/RTMP
IoT & Embedded Devices: Run on low-power devices for real-time monitoring

How to push to Media Server

Data pusher means that media server receives external data sources and then sends them out as RTSP/RTMP/SRT/HTTP-FLV/HLS streams.
The data pusher support RTSP/RTMP/SRT mode.
If it is RTSP mode, it supports standard RTSP push stream, such as FFMPEG rtsp pusher.

FFMPEG rtsp over UDP:
ffmpeg -re -i test.mp4 -vcodec libx264 -acodec copy -preset ultrafast -f rtsp rtsp://ip:port/myapp/live

FFMPEG rtsp over TCP:
ffmpeg -re -i test.mp4 -vcodec libx264 -acodec copy -preset ultrafast -f rtsp -rtsp_transport tcp rtsp://ip:port/myapp/live

If it is RTMP mode, it supports standard RTMP push stream, such as FFMPEG rtmp pusher.
ffmpeg -re -i test.mp4 -vcodec libx264 -acodec aac -f flv rtmp://ip:port/myapp/live

The corresponding stream address is:
Rtsp stream : rtsp://ip:pport/myapp/live
Rtsps stream : rtsps://ip:pport/myapp/live
Rtmp stream : rtmp://ip:port/myapp/live
SRT stream : srt://ip:port?streamid=myapp/live
HTTP-FLV stream: http://ip:port/myapp/live
WebRTC stream: http://ip:port/webrtc?streamid=myapp/live
HLS stream : http://ip:port/myapp/live.m3u8

Frequently Asked Questions (FAQ)

What is a media server?

A media server is a software system that receives, processes, and distributes audio and video streams over networks. Happytime Media Server supports RTSP, RTMP, SRT, HLS, and HTTP-FLV for live streaming, surveillance, and media conversion.

Can this media server convert RTMP to RTSP?

Yes! Happytime Media Server supports real-time protocol conversion, including RTMP to RTSP, RTSP to HLS, and SRT to RTMP. Ideal for integrating with legacy systems or NVRs.

Is it suitable for video surveillance?

Absolutely. It supports ONVIF playback, RTSP streaming from IP cameras, and secure RTSPS. Widely used in security and monitoring systems.

Does it support HTTPS or secure streaming?

Yes. It supports RTSP over HTTPS, RTSP over WebSocket, RTSPS (RTSP over TLS), and SRTP for secure media transmission.

How many streams can it handle?

The demo version supports up to 4 concurrent streams. The full release supports up to 100 concurrent streams, scalable for enterprise use.

Is the source code available?

Source code is available under commercial license. Contact sales for customization and integration support.

Version limitation

The demo version supports up to 4 concurrent streams.
The release version supports up to 100 concurrent streams.