Update VoiceCall.md

This commit is contained in:
March 7th 2022-08-16 22:16:02 +07:00
parent 79e5c52a2b
commit 3914c3f143

View File

@ -328,6 +328,7 @@ class Player extends EventEmitter {
inlineVolume: true, inlineVolume: true,
}); });
this._currentResourceAudio = resource; this._currentResourceAudio = resource;
this.setVolume(this.volume);
} }
_play() { _play() {
this._player.play(this._currentResourceAudio); this._player.play(this._currentResourceAudio);