OvenMedia WebRTC Subscriber

WebRTC Publisher configured for OvenMediaEngine.

  ]
}

WebRTC Subscriber configuration for Oven Media Engine.

Only one to many is possible for now until a custom WebSocket solution for group call peering is available.

Oven Media Engine supports P2P Delivery for subscribers. This needs to be first configured and is integrated.

If testing with the Docker image before custom compiling the server. Configure wsSecure to disable secure WebSocket with no SSL configured and transportTcp as UDP transport doesn't work to the Docker image.

Configured is a Signed Policy token config for providing stream security if setup in the server.

    
  <div class="flex w-full">
          <div id="ovenmedia-subscriber" class=""></div>

  </div>
  <script type="text/javascript">
  	var player = flowplayer("#ovenmedia-subscriber", {
    "rtc": {
        "applicationName": "app",
        "ovenmedia": {
            "policy": "",
            "transportTcp": true
        },
        "server": "ovenmedia",
        "serverURL": "127.0.0.1:3333",
        "transportTcp": true,
        "wsSecure": false
    },
    "src": [
        {
            "publisher": false,
            "src": "stream",
            "type": "application/webrtc"
        }
    ],
    "token": "eyJraWQiOiIyeHRpc0Q5NHZzTjIiLCJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjIjoie1wiYWNsXCI6NixcImlkXCI6XCIyeHRpc0Q5NHZzTjJcIixcImRvbWFpblwiOltcImVsZWN0cm90ZXF1ZS5vcmdcIl19IiwiaXNzIjoiRmxvd3BsYXllciJ9.WLUkZHpDNoaXWDaFO2V5UfXm7SnDvE1pFAM0e7ppnFovOSyCCZM-b8gQNBSElB5yirTP__x76Qyo8pMWh6lVrw"
});
  </script>