Introduction: Ant Media Server supports RTMP, RTSP, WebRTC and Adaptive Bitrate. It can also record videos in MP4, HLS and FLV
More: Author   ReportBugs   OfficialWebsite   

Ant Media Server is an Open Source Media Server that supports:

  • Live Stream Publishing with RTMP, RTSP and WebRTC
  • Recording Live Streams (FLV, MP4 and HLS Containers)
  • Adaptive Bitrate Conversion for Live Streams (FLV, MP4, HLS) in Enterprise Edition
  • Streaming Video (FLV, F4V, MP4, 3GP)
  • Streaming Audio (MP3, F4A, M4A, AAC)
  • Shared Objects
  • Remoting

Ant Media Server is based on Red5

Features comes with Ant Media Server

  • HLS and MP4 Muxing: Live broadcasts can be played with HLS even in web browsers that do not support flash (Android and iOS). In addition recorded live broadcasts can be played in any web browsers without loading any add-ons with MP4 Recording. Recording operations can be easily enabled or disabled with the commands shown below which is located in the conf/ file:

  • RTSP: Publish and Play live and vod streams with RTSP (UDP). Default RTSP port number 5554.

  • WebRTC: Publish and Play live and vod streams with WebRTC
  • Adaptive Bitrate Conversion: Lower down the resolution of the live streams on the play to let stream play seamlessly in any internet speed.


Ant Media Server 1.1.1 Release (August 3, 2017)


Ant Media Server 1.0RC Release (June 5, 2017)


Red5+ 1.0.1 Release (27 March 2017)

Tarball & ZIP

Build from Source

To build the jars, execute the following on the command line:

mvn -Dmaven.test.skip=true install

This will create the jars in the "target" directory of the workspace; this will also skip the unit tests.

To package everything up in an assembly (tarball/zip):

mvn -Dmaven.test.skip=true clean package -P assemble

To build a milestone tarball:

mvn -Dmilestone.version=1.0.7-M1 clean package -Pmilestone


  1. Create the eclipse project files, execute this within ant-media-server directory.
    mvn eclipse:eclipse
  2. Import the project into Eclipse.
  3. Access the right-click menu and select "Configure" and then "Convert to Maven Project".
  4. Now the project will build automatically, if you have the maven plugin installed.

Additional features supported via plugin

Android 开发经验分享
Android 开发经验分享