Ant Media WebRTC Subscriber

WebRTC Subscriber configured for Ant Media Server.

WebRTC Subscriber configuration for Ant Media Server. Ant Media Server License is required to play back WebRTC. A trial license will work to play back WebRTC. The default WebRTC app for Ant Media Server is WebRTCAppEE.

Note: Not a live demo, server configuration is just for example.

Configured is stream token security if configured in the server using a JWT token.

    
   <div class="flex w-full">
          <div id="antmedia-subscriber" class=""></div>
  </div>
  <script type="text/javascript">
  	var player = flowplayer("#antmedia-subscriber", {
    "antmedia": {
        "subscriberCode": "",
        "subscriberId": "",
        "token": ""
    },
    "clip": {
        "live": true,
        "sources": [
            {
                "src": "C6Lx6ku6FEXgKtt",
                "type": "application/webrtc"
            }
        ]
    },
    "rtc": {
        "applicationName": "WebRTCAppEE",
        "iceServers": [
            {
                "urls": [
                    "stun:stun.l.google.com:19302",
                    "stun:stun1.l.google.com:19302",
                    "stun:stun2.l.google.com:19302",
                    "stun:stun3.l.google.com:19302",
                    "stun:stun4.l.google.com:19302"
                ]
            }
        ],
        "server": "antmedia",
        "serverURL": "rtc.electroteque.org:5443"
    },
    "share": false
});
  </script>