Wowza Community

I would like assistance in confirming if the wowza publishing url is accurate or the line of codes are wrong

Publish HLS Video and Mic Audio to Wowza Streaming Cloud
Start Streaming Stop Streaming document.addEventListener("DOMContentLoaded", function () { const hlsVideo = document.getElementById("myVideo"); //const webcamVideo = document.getElementById("webcam-video");
  // Load HLS video stream
  if (Hls.isSupported()) {
    const hls = new Hls();
    hls.loadSource("MY_HLS_VIDEO_LINK");
    hls.attachMedia(hlsVideo);
  } else if (hlsVideo.canPlayType("application/vnd.apple.mpegurl")) {
    hlsVideo.src = "MY_HLS_VIDEO_LINK";
  }

});
</script>