Hello,
We would like to enable multicast streams to be watched in a web browser by Desktop and Laptops that have Windows OS.
We have installed the latest release of VLC 3.0.8 with enabling plugin options. We are able to play and watch the multicast streams by VLC.exe application, however we cannot play the streams in a vlc plugin enabled HTML page below. (Internet Explorer version 11 is used)
We have tried udp and rtp multicast options both, but it is still failing. According to wireshark trace, we can see that the IGMP join message is sent and our PC is receiving the multicast packets from the network. However it is not displayed on the web page.
Can we play multicast in such ways in the browsers with VLC plugins ? Is this supported ?
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
<script>
$(document).ready(function () {
//alert('Document ready!');
var vlc = document.getElementById("vlc");
var options = new Array(":demux=rawaud", ":rawaud-channels=2", ":rawaud-samplerate=44100", ":rawaud-fourcc=s16b");
var urlVideofile = "udp://@239.1.2.3:1234"
var id = vlc.playlist.add(urlVideofile, null,null);
vlc.playlist.playItem(id);
});
$(window).on("load", function () {
//console.log("window loaded");
});
</script>
<!--<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function () {
alert('Document ready!');
var vlc = document.getElementById("vlc");
var options = new Array(":rtsp-tcp");
var urlVideofile = "udp://@239.1.2.3:1234/"
var id = vlc.playlist.add(urlVideofile, null, options);
vlc.playlist.playItem(id);
}, false);
</script>-->
</head>
<body>
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" width="640" height="480" target="udp://@239.1.2.3:1234" id="vlc" />
</body>
</html>