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

Stream interface #6

Open
dy opened this issue Sep 15, 2016 · 0 comments
Open

Stream interface #6

dy opened this issue Sep 15, 2016 · 0 comments

Comments

@dy
Copy link
Member

dy commented Sep 15, 2016

This is mostly @audiojs issue, but I imagine cases where we don’t actually have complete buffer, but can get sequence of chunks. Example — soundcloud streams, or <audio> tag converted by web-audio-stream.

API seems to be similar to audio-loader in functional case:

let load = Loader(url);
load((err, chunk) => {}); 

Why it is tempting, it allows for listening soundcloud in terminal (in case if we make CLI for audio-components):

load url | speaker

Mb I really should address that to a separate module, like audio-load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant