Page 1 of 1

VLC Webplugin, Multicast stream, 'program'?

Posted: 08 Mar 2012 17:19
by jandw
Hi,

for a project in our company, where the internal cable distribution is being ported to a Multicast stream, we want to create a webpage where employees can choose which channel they want to watch. Using the full VLC Player, you open the multicast stream (udp://@239.1.1.1:1234). This gives you immediatly the first channel. But, VLC doesn't 'remember' settings like zoom-level, interlace on/off, ... All this can be set and controlled via the webplugin.

However, in our stream, we mux 8 channels. In the full player, you choose 'Playback' - 'Program', where you choose which one of the channels you want to watch.

But: since we want to do this using the VLC Webplugin: how (if at all possible) can we access the different streams, contained in 1 single mux, on 1 IP address?

I searched the forums, the WIKI, but can't find an answer ...

Re: VLC Webplugin, Multicast stream, 'program'?

Posted: 28 Jul 2015 16:53
by cococh45
Hello,

I have the same trouble: Need to be able to choose the program on a multicast MPTS.
VLC plugin always open the same program of my MPTS, and doesn't apply the program setting.

Any idea ?
Thanks !


<html>
<title>VLC plugin test page</title>
<body>
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
width="1280"
height="720"
id="vlc"
</embed>
<script>
var vlc = document.getElementById("vlc");
vlc.playlist.add("udp://@239.100.100.10:1234", ":program=533", ":network-caching=200");
vlc.playlist.play();
</script>
</body>
</html>

Re: VLC Webplugin, Multicast stream, 'program'?

Posted: 29 Jul 2015 10:42
by da2424
This should work:

Code: Select all

<html> <title>VLC plugin test page</title> <body> <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" width="1280" height="720" id="vlc" </embed> <script> var vlc = document.getElementById("vlc"); vlc.playlist.add("udp://@239.100.100.10:1234", "fancy name", new Array(":program=533", ":network-caching=200")); vlc.playlist.play(); </script> </body> </html>

Re: VLC Webplugin, Multicast stream, 'program'?

Posted: 04 Aug 2015 15:32
by cococh45
Its working :D

Thanks !

Re: VLC Webplugin, Multicast stream, 'program'?

Posted: 07 Aug 2015 11:35
by ntrikoti
hi da2424 and cococh45,
Will your above code work when the browser does not have access to internet?