cordova_stream_server
v0.4.1
Published
streamServerPlugin Description
Downloads
28
Maintainers
Readme
stream server PhoneGap plugin
all playe file must encrypted with ciphen this stream server decript file and stream it Work with PhoneGap 2.9.*
How To Use
var port;
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
window.StreamServer.start(
function (result) { port = result; /* alert("port: " + result);*/ },
function (error) { navigator.notification.alert('error on oopenin port', function () { }, 'error', 'ok'); });
}
/* var path = fileName with path;
var filepath = "http://127.0.0.1:" + port + path + "?key=123&iv=456";
then you can play file with file path address
*/