Start rewrite with new prism

This commit is contained in:
Amish Shah
2017-10-25 23:14:41 +01:00
parent 0589b7d7f1
commit 65673197d4
6 changed files with 91 additions and 398 deletions

View File

@@ -35,17 +35,6 @@ class VoiceConnection extends EventEmitter {
*/
this.client = voiceManager.client;
/**
* @external Prism
* @see {@link https://github.com/hydrabolt/prism-media}
*/
/**
* The audio transcoder for this connection
* @type {Prism}
*/
this.prism = new Prism();
/**
* The voice channel this connection is currently serving
* @type {VoiceChannel}
@@ -494,6 +483,7 @@ class VoiceConnection extends EventEmitter {
* .catch(console.error);
*/
playStream(stream, options) {
console.log('VC!');
return this.player.playUnknownStream(stream, options);
}