Ant Media Server Community Edition

Deploy in 60 seconds

Free version of the scalable live video streaming platform with ultra low latency.

It supports WebRTC Live Streaming, in addition to CMAF and HLS streaming. It can be ingested through RTMP or WebRTC or HLS. Any IP Camera can be connected through RTSP and ONVIF. It also enables Live Restreaming to Social Media Platforms. All codecs H.264, H.265, VP8 are enabled and also GPU based encoding is also available.

Ant Media Server Community Edition is limited version of Ant Media Server Enterprise edition and supports following features only.

  • Publish live streams with WebRTC, RTMP †Play Live and VoD streams with RTMP and HLS
  • RTMP, RTSP, MP4 and HLS Support
  • WebRTC to RTMP Adapter
  • 360 Degree Live & VoD Streams
  • Recording with MP4 and WebM formats
  • Web Management Dashboard
  • IP Camera Support
  • Re-stream Remote Streams (IPTV)
  • Open Source https://github.com/ant-media/Ant-Media-Server
  • Simulcasting to Social Media Platforms such as Facebook, Youtube etc.
  • Your Live or VoD streams can play anywhere including mobile (Android, iOS) browsers.
  • Native IOS/Android SDK

Install SSL for your Ant Media Server

If you're installing on your localhost, you can skip this step.

Please make sure that your server instance has Public IP address and a domain is assigned to its Public IP address. Then go to the folder where Ant Media Server is installed. Default directory is /usr/local/antmedia

cd /usr/local/antmedia

Run ./enable_ssl.sh script in AMS installation directory. Please don't forget to replace {DOMAIN_NAME} with your domain name.

sudo ./enable_ssl.sh -d {DOMAIN_NAME}

For detailed information about SSL, follow SSL Setup.

Accessing Web panel

Open your browser and type http://SERVER_IP_ADDRESS:5080 to go to the web panel. If you're having difficulty in accessing the web panel, there may be a firewall that blocks accessing the 5080 port.

Server Ports

In order to server run properly you need to open some network ports. Here are the ports server uses.

  • TCP:1935 (RTMP)
  • TCP:5080 (HTTP)
  • TCP:5443 (HTTPS)
  • UDP:50000-60000 (WebRTC. It's 50K-60K since 2.4.2. Before 2.4.2, default value 5K-65K. You can change port range in all releases)
  • TCP:5000-65000 (You need to open this range in only cluster mode for internal network. It should not be open to public.)

Forward Default http(80), https(443) Ports to 5080 and 5443

Generally, port forwarding is used to forward default ports to the server's ports in order to have ease of use. For instance let's forward 80 to 5080, just type the command below.

sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 5080

sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 5443

After running the command above, the http requests going to 80 is forwarded to 5080. The http requests going to 443 is being forwarded to 5443.

Please pay attention that while you're enabling SSL, 80 port should not be used by any process or should not be forwarded to any other port either.