hey guys
I have problem while using straming via VLC, before September I was using VLC web plugin to view streaming videos via VLC
because web browsers deprecated vlc player from working so I must use html5 or jwplayer or any video player, is there any replacment to VLC ? so I can view my stream on any web player ?

Dani AI

Generated

If you were relying on the old VLC browser plugin, the modern replacement is to package your live output as an adaptive HTTP stream and play it with the HTML5 <video> element. The most widely supported path is HLS: Safari can play an .m3u8 URL natively, and other desktop browsers can play it via a lightweight JavaScript player built on Media Source Extensions (MSE), such as hls.js. Apple’s HLS overview and MDN’s MSE docs cover the model and browser support. For sites already using Wowza (as the OP later did), Wowza Streaming Engine can ingest RTMP/RTSP/SRT and output HLS/DASH (including Low-Latency HLS) that works across HTML5 players. See Wowza’s supported protocols summary for details. Understanding protocols and formats supported by Wowza Streaming Engine.

A minimal, plugin-free HLS setup looks like this: generate HLS on the server (Wowza, or a packager like FFmpeg), then play it with hls.js when MSE is available and fall back to native HLS on Safari.

<video id="v" controls playsinline></video>
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
<script>
  const url = "https://example.com/live/stream.m3u8";
  const video = document.getElementById("v");
  if (window.Hls && Hls.isSupported()) { const hls = new Hls(); hls.loadSource(url); hls.attachMedia(video); }
  else if (video.canPlayType("application/vnd.apple.mpegurl")) { video.src = url; }
</script>

To produce HLS yourself, FFmpeg’s HLS muxer is a practical starting point (ensure keyframes align with segment duration): ffmpeg -re -i input -c:v libx264 -c:a aac -hls_time 6 -hls_list_size 10 -hls_flags delete_segments -f hls out.m3u8. See the official FFmpeg format docs for options. FFmpeg Formats: hls muxer. hls.js project page.

Recommended Answers

All 2 Replies

sorry for late in resonse I solve it by using wowza to stream my files
thanks for the help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.