This commit is contained in:
Travis CI 2016-12-30 19:15:49 +00:00
parent 543e425fd6
commit daf69049a5
2 changed files with 16 additions and 5 deletions

View file

@ -23253,6 +23253,17 @@ class VoiceBroadcast extends EventEmitter {
return this;
}
/**
* Play an arbitrary input that can be [handled by ffmpeg](https://ffmpeg.org/ffmpeg-protocols.html#Description)
* @param {string} input the arbitrary input
* @param {StreamOptions} [options] Options for playing the stream
* @returns {VoiceBroadcast}
*/
playArbitraryInput(input, { seek = 0, volume = 1, passes = 1 } = {}) {
const options = { seek, volume, passes };
return this.player.playUnknownStream(input, options);
}
/**
* Pauses the entire broadcast - all dispatchers also pause
*/

File diff suppressed because one or more lines are too long