cordova_stream_server

0.4.1 • Public • Published

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
	*/

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i cordova_stream_server

      Weekly Downloads

      24

      Version

      0.4.1

      License

      Apache 2.0 License

      Last publish

      Collaborators

      • omid-t