Skip to content

Try Low Latency WebRTC Live Streaming

Selim Emre Toy edited this page Jun 1, 2018 · 9 revisions

Ant Media Server 1.2.0+ Enterprise Edition supports adaptive low latency WebRTC streaming.

In addition, Ant Media Server can

  • Record WebRTC streams as MP4 and MKV
  • Convert WebRTC streams to adaptive live HLS
  • Create previews in PNG format from WebRTC streams

Download

Firstly, you need to have Ant Media Server Enterprise Edition. If you are a personal user and just want to try, contact with us at antmedia.io. We will reply back by providing Ant Media Server Enterprise Edition to try.

If you are a professional user and need support, you can buy support at antmedia.io as well

Quick Start

Ant Media Server 1.2.0+ runs on Linux and Mac not on Windows.

Let's start, we assume that you have got Enterprise Edition somehow and downloaded to your local computer

  1. Extract the downloaded file in to a directory.

  2. Make sure you have installed Oracle Java 8

    • Installation Java 8 on Ubuntu

      $ sudo add-apt-repository ppa:webupd8team/java
      $ sudo apt-get update
      $ sudo apt-get install oracle-java8-installer
      
    • Installation Java 8 on Mac

      • Follow the guide here
  3. Open a terminal and go to directory where you have extracted Enterprise Edition

    cd /path/to/ant-media-server
    
  4. Start the server with start.sh script.

    ./start.sh
    

    It starts by printing some logs to the terminal.

  5. Open the browser(Chrome or Firefox) and go to the http://localhost:5080/WebRTCAppEE. Let browser access your camera and mic unless it cannot send WebRTC Stream to the server

    Open WebRTCAppEE

    WebRTCAppEE stands for WebRTCApp Enterprise Edition

  6. Write stream name or leave it as default and Press Start Publishing button. After you press the button, "Publishing" blinking text should appear

    Press Start Publishing button

  7. Go to the http://localhost:5080/WebRTCAppEE/player.html

    Go to the player.html

  8. Press Start Play button. After you press the button, webrtc stream should be started

    Press Start Playing Button

  9. Open http://localhost:5080/WebRTCAppEE/player.html in other tabs and Press Start Playing button again to check how it plays and what the latency is.

Running on Remote Instances - Enable SSL For Ant Media Server Enterprise

If you are running the Ant Media Server Enterprise Edition in remote computer/instances, you may need SSL. If so, please follow the Enable SSL doc or this blog post.

Feedbacks

Please let us know your feedbacks about the latency and streaming or any other issue you have faced so that we can improve and let you try and use.

You can use contact form at antmedia.io or contact at antmedia dot io e-mail to send your feedbacks

Thank you

Ant Media

User Guide

Reference

Troubleshooting

Draft

Proposals

Clone this wiki locally