prevent SoundMeter from being initialized if stream has no audio tracks available
This commit is contained in:
@@ -637,12 +637,12 @@ export class GameScene extends DirtyScene {
|
||||
this.connect();
|
||||
}
|
||||
|
||||
// localVolumeStore.subscribe((volume) => {
|
||||
// if (volume) {
|
||||
// this.CurrentPlayer.showIconTalk(volume > 5);
|
||||
// this.markDirty(); // should be dirty from animation
|
||||
// }
|
||||
// });
|
||||
localVolumeStore.subscribe((volume) => {
|
||||
if (volume) {
|
||||
this.CurrentPlayer.showIconTalk(volume > 5);
|
||||
this.markDirty(); // should be dirty from animation
|
||||
}
|
||||
});
|
||||
|
||||
let oldPeerNumber = 0;
|
||||
this.peerStoreUnsubscribe = peerStore.subscribe((peers) => {
|
||||
|
||||
Reference in New Issue
Block a user