Hello.
Can anybody help me how to create a VOD server on VLC for IPTV set-top-box like Amiet130, Dlink DIB-120.
I want to create a html page which contain html and javascript code and which manage VLC broadcast via web interface. This html page is hosted on a my local server.
On STB i go to this html page and javascript function must be control VLC player and unicast stream to my STB.
For example, html page for STB Dlink DIB-120:
<html>
<head>
<title>Test VOD</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Pragma" content="no-cache">
<script type="text/javascript">
var stb_media = new Stb_Media();
var stb=new Stb();
function processItem(event)
{
var key = event.keyCode ? event.keyCode : event.which;
switch(key){
case 40: // Play a file from VOD
// there should be a function of vlc to start a unicast stream to my STB
stb_media.play(streem_address);
break;
case 38:
stb_media.stop();
break;
}
}
function initPage(){
stb_media.setTransparentColor(0xFF000000);
stb_media.setPIG(false);
document.addEventListener("keypress",processItem,false);
}
window.onload = initPage;
</script>
</head>
<body style="background: #000000;">
<div>
A test of VOD server.
// there should be a function of vlc to start a unicast stream to my STB
</div>
</body>
</body>
</html>
Help me how can I manage VLC broadcast via web interface.
I'm a newbie in Vlma. I have intalled VLMa and it's working.