Skip to content

Stream interface #6

@dy

Description

@dy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions