mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
Start rewrite with new prism
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user