AudioStream

The events in here are for the audio stream in the getAudioContext() callback.

Assuming:

client.getAudioContext(channelID, function(error, stream) {});

done

Emitted when the stream has nothing more to play.

stream.once('done', function() {
  //You can use `on` instead of `once`
  //if you want to use this callback for more.
});

results matching ""

    No results matching ""