Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot play a stream #27

Closed
rapsli opened this issue Nov 25, 2014 · 2 comments
Closed

Cannot play a stream #27

rapsli opened this issue Nov 25, 2014 · 2 comments
Labels

Comments

@rapsli
Copy link

rapsli commented Nov 25, 2014

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");
});
@guo-yu guo-yu added the bug label Nov 27, 2014
@guo-yu
Copy link
Owner

guo-yu commented Nov 27, 2014

@rapsli Actually it's a bug. I will fix this in next version v0.3.0

@guo-yu
Copy link
Owner

guo-yu commented Dec 3, 2014

@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.

@guo-yu guo-yu closed this as completed Dec 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants