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
{
"wowzavideo": {
"publishToken": "",
"codec": "h264"
}
}
<div class="flex flex-col w-full">
<div id="wowzavideo-publisher" class=""></div>
</div>
<script type="text/javascript">
var player = flowplayer("#wowzavideo-publisher", {
"live": true,
"peakmeter": {},
"rtc": {
"autoStartDevice": true,
"publisher": true,
"server": "wowza-video",
"toggleScreen": true
},
"src": [
{
"publisher": true,
"src": "C6Lx6ku6FEXgKtt",
"type": "application/webrtc"
}
],
"token": "eyJraWQiOiIyeHRpc0Q5NHZzTjIiLCJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjIjoie1wiYWNsXCI6NixcImlkXCI6XCIyeHRpc0Q5NHZzTjJcIixcImRvbWFpblwiOltcImVsZWN0cm90ZXF1ZS5vcmdcIl19IiwiaXNzIjoiRmxvd3BsYXllciJ9.WLUkZHpDNoaXWDaFO2V5UfXm7SnDvE1pFAM0e7ppnFovOSyCCZM-b8gQNBSElB5yirTP__x76Qyo8pMWh6lVrw",
"wowzavideo": {
"codec": "h264",
"publishToken": "31ae7f65a04762b5e44b56b0eb2b2cd6dae169c05d13955af09c526399378592"
}
});
</script>