-
Notifications
You must be signed in to change notification settings - Fork 641
Quick Start
Quick start guide lets you set up Ant Media Server(AMS) Enterprise and try Ultra-Low Latency Streaming in a few mins. The installation procedure for Ant Media Server Community and Enterprise Editions are same so that you can install community edition by following this instructions as well.
There are 2 options to start an Ant Media Server (AMS).
- Install to your local ubuntu box(localhost)
- Install to a remote server with Public IP Address
Quick launch in AWS or Azure or DigitalOcean
You can download Ant Media Server Enterprise at antmedia.io. If you want to try Community Edition, you can download at github.com After the download, you will have a compressed file that contains the Ant Media Server.
You can download Community Edition from Releases and Enterprise Edition on your account at antmedia.io after you get a license on antmedia.io
Open a terminal and go to the directory where you download the Ant Media Server.
cd /path/to/where/ant-media-server/is/downloaded
Get the install_ant-media-server.sh
script.
wget https://raw.githubusercontent.com/ant-media/Scripts/master/install_ant-media-server.sh
chmod 755 install_ant-media-server.sh
Install Ant Media Server(AMS) as follows. Please don't forget to replace [ANT_MEDIA_SERVER_INSTALLATION_FILE]
below with the downloaded file at step 1.
sudo ./install_ant-media-server.sh [ANT_MEDIA_SERVER_DOWNLOADED_FILE]
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.
Ant Media Server Enterprise provides 0.5 seconds end-to-end latency. So let's try ultra-low latency
- Visit the page
https://your-domain-address.com:5443/WebRTCAppEE/
.
If you're running in localhost, please visit
http://localhost:5080/WebRTCAppEE/
-
Let browser access the camera and mic. Then click
Start Publishing
-
After you press the button, "Publishing" blinking text should appear
- Visit the page
https://your-domain-address.com:5443/WebRTCAppEE/player.html
.
If you're running in localhost, please visit
http://localhost:5080/WebRTCAppEE/player.html
- Write the stream id in text box(
stream1
by default) - Press
Start Play
button. After you press the button, WebRTC stream starts playing
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 problem, don't be hesitate to contact us.
- Introduction
- Quick Start
- Installation
- Publishing Live Streams
- Playing Live Streams
- Conference Call
- Peer to Peer Call
- Adaptive Bitrate(Multi-Bitrate) Streaming
- Data Channel
- Video on Demand Streaming
- Simulcasting to Social Media Channels
- Clustering & Scaling
- Monitor Ant Media Servers with Apache Kafka and Grafana
- WebRTC SDKs
- Security
- Integration with your Project
- Advanced
- WebRTC Load Testing
- TURN Servers
- AWS Wavelength Deployment
- Multi-Tenancy Support
- Monitor Ant Media Server with Datadog
- Clustering in Alibaba
- Playlist
- Kubernetes
- Time based One Time Password
- Kubernetes Autoscaling
- Kubernetes Ingress
- How to Install Ant Media Server on EKS
- Release Tests
- Spaceport Volumetric Video
- WebRTC Viewers Info
- Webhook Authentication for Publishing Streams
- Recording Streams
- How to Update Ant Media Server with Cloudformation
- How to Install Ant Media Server on GKE
- Ant Media Server on Docker Swarm
- Developer Quick Start
- Recording HLS, MP4 and how to recover
- Re-streaming update
- Git Branching
- UML Diagrams