UnrealMedia WebRTC Subscriber

WebRTC Subscriber configured for Unreal Media Server.

WebRTC subscriber for Unreal Media Server. A security token can be configured for the connection using the secureToken config.

    <div class="flex w-full h-auto my-auto">
      <video class="video-js vjs-default-skin vjs-fluid " crossorigin="anonymous" controls="" id="unrealmedia-subscriber"></video>
  </div>
  <script type="text/javascript">
  	var player = videojs("unrealmedia-subscriber", {
    "plugins": {
        "rtcsubscriber": {
            "applicationName": "webrtc_playnow",
            "server": "unrealmedia",
            "serverURL": "127.0.0.1:5119",
            "unrealmedia": {
                "publicIp": "127.0.0.1",
                "singlePort": true,
                "transportTcp": false
            },
            "wsSecure": false
        }
    },
    "sources": [
        {
            "src": "livestream",
            "type": "application/webrtc"
        }
    ]
});
  </script>