Wowza Video WebRTC Subscriber

WebRTC Subscriber configured for Wowza Video at Scale.

WebRTC Subscriber configuration for Wowza Video as scale.

OBS RTMP Encoder to WebRTC subscribing is supported if Browser based WebRTC publishing is not desired. See the Millicast Encoder Settings documentation for setting up the encoder.

A subcriber token is desirable to restrict WebRTC plaback. That can be used to configure the subToken config. Wowza Video console provides the generated subscriber token.

{
  "wowzavideo": {
    "subToken": ""
  }
}

:::json
{
  "subscriber": {
      "wowzavideo": {
        "subToken": ""
      }
    }
}
    <div class="flex w-full h-auto my-auto">
          <div id="wowzavideo-subscriber" class=""></div>
  </div>
  <script type="text/javascript">
  	var player = jwplayer("wowzavideo-subscriber").setup({
    "aspectratio": "16:9",
    "live": true,
    "playbackRateControls": true,
    "plugins": {
        "../../js/webrtcsubscriber.js": {}
    },
    "sources": [
        {
            "appName": "webrtc",
            "file": "C6Lx6ku6FEXgKtt",
            "live": true,
            "type": "mp4"
        }
    ],
    "subscriber": {
        "server": "wowzavideo",
        "wowza-video": {
            "subToken": "b23ebffd67a92feff751983ad91c4ddfd83285b5a3b899cffbab1d28275dce44"
        }
    },
    "width": "100%"
});
  </script>