VLC Webplugin, Multicast stream, 'program'?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
jandw
New Cone
New Cone
Posts: 1
Joined: 08 Mar 2012 17:00

VLC Webplugin, Multicast stream, 'program'?

Postby jandw » 08 Mar 2012 17:19

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 ...

cococh45
New Cone
New Cone
Posts: 6
Joined: 17 Jan 2008 11:53

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

Postby cococh45 » 28 Jul 2015 16:53

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>

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

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

Postby da2424 » 29 Jul 2015 10:42

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>

cococh45
New Cone
New Cone
Posts: 6
Joined: 17 Jan 2008 11:53

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

Postby cococh45 » 04 Aug 2015 15:32

Its working :D

Thanks !

ntrikoti
New Cone
New Cone
Posts: 1
Joined: 07 Aug 2015 11:26

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

Postby ntrikoti » 07 Aug 2015 11:35

hi da2424 and cococh45,
Will your above code work when the browser does not have access to internet?


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 48 guests