We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3874907 commit df02683Copy full SHA for df02683
src/client/client.ts
@@ -455,8 +455,6 @@ export class Client extends EventEmitter<Events> {
455
// Make sure any currently playing audio is stopping
456
this.audioContext.close();
457
this.audioContext = new AudioContextClass();
458
- this.serverTimeDiff = 0;
459
- this.serverTimeDiffSamples = [];
460
}
461
462
// Close the WebSocket connection and clean up resources.
@@ -471,6 +469,8 @@ export class Client extends EventEmitter<Events> {
471
469
472
470
this._resetAudioContext();
473
+ this.serverTimeDiff = 0;
+ this.serverTimeDiffSamples = [];
474
this.serverInfo = null;
475
476
0 commit comments