You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is my sample code. Playing the demo.mp3 works fine, but what I'm trying to accomplish is playing a music stream, which unfortunately it fails to do. Any hints?
var Player = require('player');
var player = new Player('http://stream.srg-ssr.ch/m/rsp/mp3_128');
//var player = new Player('http://node-player.qiniudn.com/demo.mp3');
player.play(function(err, player){
console.log("playend");
});
The text was updated successfully, but these errors were encountered:
@rapsli player module now support playing music stream, please check out examples/stream.js, this feature provided in version v0.3.0 which has been shipped.
Here is my sample code. Playing the demo.mp3 works fine, but what I'm trying to accomplish is playing a music stream, which unfortunately it fails to do. Any hints?
The text was updated successfully, but these errors were encountered: