removing debug stuff

This commit is contained in:
Fabian Stamm 2017-06-20 13:18:18 +02:00
parent df5e39f1c8
commit abf91edee6

View File

@ -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)=>{