Hi, thanks for the cool library.
I tried to pause an audio and got the error in console
Illegal instruction: 4
a part of my source code
if (url.pathname === '/play') {
if (currentPlayer) {
currentPlayer.stop();
}
currentPlayer = new Player(data);
currentPlayer.play();
currentPlayer.on('error', function(err){
// when error occurs
console.log(err);
});
}
else if (url.pathname === '/pause') {
if (currentPlayer) {
currentPlayer.pause();
}
}
else if (url.pathname === '/stop') {
if (currentPlayer) {
currentPlayer.stop();
}
}
Same goes for .stop()
How can I prevent the error?
node: v5.10.1
os: mac os 10.12.4
Hi, thanks for the cool library.
I tried to pause an audio and got the error in console
Illegal instruction: 4a part of my source code
Same goes for
.stop()How can I prevent the error?
node: v5.10.1
os: mac os 10.12.4