refactor: implement robust Opus decoding with error-resilient streams and transition to pull-based audio transmission for Discord output
This commit is contained in:
@@ -41,6 +41,14 @@ export class DiscordPlayer {
|
||||
this.player.play(resource);
|
||||
}
|
||||
|
||||
public pause() {
|
||||
this.player.pause(true);
|
||||
}
|
||||
|
||||
public unpause() {
|
||||
this.player.unpause();
|
||||
}
|
||||
|
||||
public stop() {
|
||||
this.player.stop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user