Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 4648fa3

Browse files
authored
Add PiP move threshold (#10040) (#10033)
1 parent 5ac014f commit 4648fa3

File tree

2 files changed

+170
-119
lines changed

2 files changed

+170
-119
lines changed

src/voice-broadcast/models/VoiceBroadcastPlayback.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,11 @@ export class VoiceBroadcastPlayback
396396
}
397397

398398
if (!this.playbacks.has(eventId)) {
399+
// set to buffering while loading the chunk data
400+
const currentState = this.getState();
401+
this.setState(VoiceBroadcastPlaybackState.Buffering);
399402
await this.loadPlayback(event);
403+
this.setState(currentState);
400404
}
401405

402406
const playback = this.playbacks.get(eventId);

0 commit comments

Comments
 (0)