removing debug stuff
This commit is contained in:
parent
df5e39f1c8
commit
abf91edee6
12
index.js
12
index.js
@ -8,18 +8,6 @@ var http = require("http").createServer();
|
|||||||
var io = require("socket.io")(http);
|
var io = require("socket.io")(http);
|
||||||
var activeFile = undefined;
|
var activeFile = undefined;
|
||||||
|
|
||||||
// DEBUG
|
|
||||||
if(DEBUG){
|
|
||||||
//player.loadFile(__dirname + "/files/testv.mp4", ()=>{
|
|
||||||
console.log("DEBUG");
|
|
||||||
activeFile = "testv.mp4";
|
|
||||||
player.loadFile(__dirname + "/files/" + activeFile, ()=>{
|
|
||||||
player.play();
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
// END DEBUG
|
|
||||||
|
|
||||||
io.on("connection", (socket)=>{
|
io.on("connection", (socket)=>{
|
||||||
console.log("client connected:", socket.client.id);
|
console.log("client connected:", socket.client.id);
|
||||||
socket.on("play", (data)=>{
|
socket.on("play", (data)=>{
|
||||||
|
Loading…
Reference in New Issue
Block a user