Add PiP move threshold (#10040) (#10033)

This commit is contained in:
Michael Weimann 2023-02-07 10:14:28 +01:00 committed by GitHub
parent 5ac014ff29
commit 4648fa3c8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 189 additions and 138 deletions

View file

@ -396,7 +396,11 @@ export class VoiceBroadcastPlayback
}
if (!this.playbacks.has(eventId)) {
// set to buffering while loading the chunk data
const currentState = this.getState();
this.setState(VoiceBroadcastPlaybackState.Buffering);
await this.loadPlayback(event);
this.setState(currentState);
}
const playback = this.playbacks.get(eventId);