]
}
WebRTC Subscriber configuration for Wowza Media Server. Wowza Media Developer and full licence works with WebRTC.
Configured is a custom subscribe token that is verified with the custom Wowza webrtc provider module using a configured shared secret.
<div class="flex w-full h-auto my-auto">
<video class="video-js vjs-default-skin vjs-fluid " crossorigin="anonymous" controls="" id="wowza-subscriber"></video>
</div>
<script type="text/javascript">
var player = videojs("wowza-subscriber", {
"plugins": {
"rtcsubscriber": {
"applicationName": "webrtc",
"server": "wowza",
"serverURL": "rtc.electroteque.org",
"subscribeToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3ZWJydGMiLCJpYXQiOjE2MzczMzAyNTksImV4cCI6MTY2ODg2NjI1OSwiYXVkIjoid3d3LmV4YW1wbGUuY29tIiwic3ViIjoianJvY2tldEBleGFtcGxlLmNvbSIsInN0cmVhbU5hbWUiOiJDNkx4Nmt1NkZFWGdLdHQifQ.4_38rdgyqWabGvoV6WZREjrqevVeGIgCKK7xOknwGx4"
}
},
"sources": [
{
"src": "C6Lx6ku6FEXgKtt",
"type": "application/webrtc"
}
]
});
</script>