WebRTC Publisher configuration for Wowza Video as scale. The publish token supplied by Wowza is required to be configured.
Wowza Video supports WebRTC data channels which can be enabled with dataChannel
and channelName
The Wowza Video as scale is configured to play back this publish stream.
Preferred Codecs for Wowza video is configured with the codec
config which defaults to h264. This can be set to VP9. In the future AV1 Codec in supported browsers can be used. See the AV1 WebRTC Millicast post regarding to AV1.
OBS RTMP Encoder to WebRTC subscribing is supported. See the OBS For Real Time Streams documentation for downloading and setting up the encoder. The Wowza Video subscriber, can be used to play back the RTMP stream as WebRTC.
Configured is the publish security token provided by the console.
{
"wowzavideo": {
"publishToken": "",
"codec": "h264"
}
}
:::json
{
"../../js/webrtcpublisher.js": {
"wowzavideo": {
"publishToken": "",
"codec": "h264"
}
}
}
<div class="flex w-full h-auto my-auto">
<div id="wowzavideo-publisher" class=""></div>
</div>
<script type="text/javascript">
var player = jwplayer("wowzavideo-publisher").setup({
"aspectratio": "16:9",
"playbackRateControls": true,
"plugins": {
"../../js/webrtcpeakmeter.js": {},
"../../js/webrtcpublisher.js": {
"autoStartDevice": true,
"publisher": true,
"server": "wowza-video",
"toggleScreen": true,
"wowzavideo": {
"codec": "h264",
"publishToken": "31ae7f65a04762b5e44b56b0eb2b2cd6dae169c05d13955af09c526399378592"
}
}
},
"sources": [
{
"appName": "webrtc",
"file": "C6Lx6ku6FEXgKtt",
"live": true,
"publisher": true,
"type": "mp4"
}
],
"width": "100%"
});
</script>