Skip to main content

Quick start for Ant Media Server

This quick start guide shows you how to set up Ant Media Server (AMS) in just a few minutes and try ultra-low latency streaming using the enterprise edition on popular cloud marketplaces.

Video tutorial of AWS marketplace installation



Video tutorial of Azure marketplace installation



Installation

The installation process for Ant Media Server Community and Enterprise Editions are the same so you can install The Community Edition by following the same instructions.

There are two ways to install Ant Media Server (AMS).

  1. Manual installation to a remote server with a public IP address: The installation process for manually installing Ant Media Server Community and Enterprise Editions are the same, please refer to the Installation instructions

  2. Launch in one of the cloud marketplaces AWS, Azure, DigitalOcean (video tutorial above).

For detailed information about how to configure SSL for Ant Media Server, reference the SSL Setup guide.

Ultra-low latency publishing/playing

Ant Media Server Enterprise Edition provides 0.5 seconds end-to-end latency. So let's try ultra-low latency first.

Publishing

  • Visit the following page https://your-domain-address.com:5443/WebRTCAppEE/

  • Let the browser access the camera and mic. Then click Start Publishing

  • After you press the button "Publishing", the status will change to publishing and you will start to see statistics showing the quality of the stream.

Playing

  • Visit the following page https://your-domain-address.com:5443/WebRTCAppEE/player.html.

  • Input into the text box the same stream id used in the previous step ( stream1 by default)

  • Press the Start Play button to start playing the WebRTC stream.

Playing and Publishing Options

Both default play and publish pages have some options to customise the experience, incuding a data channel for sending and receiving text messages.

Note:
The data channel is covered here using the data channel

Publishing

Clicking on the "Options" button will reveal more than one way to publish a live stream.

In this example, there is more than one video source and more than one audio source. The default is to enabled your camera for a live stream chat, but other options include publishing your screen or publish your screen with your camera.

Playing

Click the "Options" button to see the different play back options. If adaptive bitrate (ABR) is enabled, you will be able to force the required quality.

Note:
Don't forget that the stream id on the publish and play pages should be the same.

This quick start lets your try ultra-low latency streaming in Ant Media Server. If you have any problems, don't be hesitate to discuss.