-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
Description
Feature request for either built-in playback support, or a Wiki with examples.
Here's one that handles both lossless and high quality with fluent-ffmpeg and speaker:
api.getStreamURL({id:22560696}, function (data) {
var url = quality === 'lossless' ? data.url : 'rtmp://'+data.url;
ffmpeg(url).format('wav').pipe(new Speaker(), {end:true}).on('finish', function () {
console.log('track finished');
});
});