Fix battery drain from Web Audio #3341
Annotations
4 errors
Run tests:
src/audio/BackgroundAudio.ts#L23
TypeError: this.audioContext.suspend is not a function
at new suspend (src/audio/BackgroundAudio.ts:23:27)
at new LegacyCallHandler (src/LegacyCallHandler.tsx:171:31)
at Function.get instance [as instance] (src/LegacyCallHandler.tsx:176:42)
at VisibilityProvider.instance [as isRoomVisible] (src/stores/room-list/filters/VisibilityProvider.ts:38:31)
at RoomNotificationStateStore.isRoomVisible [as emitUpdateIfStateChanged] (src/stores/notifications/RoomNotificationStateStore.ts:119:45)
at EventEmitter.emitUpdateIfStateChanged (src/stores/notifications/RoomNotificationStateStore.ts:100:14)
at Object.emit (test/unit-tests/stores/RoomNotificationStateStore-test.ts:40:16)
|
Run tests:
src/audio/BackgroundAudio.ts#L23
TypeError: this.audioContext.suspend is not a function
at new suspend (src/audio/BackgroundAudio.ts:23:27)
at new LegacyCallHandler (src/LegacyCallHandler.tsx:171:31)
at Function.get instance [as instance] (src/LegacyCallHandler.tsx:176:42)
at VisibilityProvider.instance [as isRoomVisible] (src/stores/room-list/filters/VisibilityProvider.ts:38:31)
at RoomNotificationStateStore.isRoomVisible [as emitUpdateIfStateChanged] (src/stores/notifications/RoomNotificationStateStore.ts:119:45)
at EventEmitter.emitUpdateIfStateChanged (src/stores/notifications/RoomNotificationStateStore.ts:100:14)
at Object.emit (test/unit-tests/stores/RoomNotificationStateStore-test.ts:52:16)
|
Run tests:
src/audio/BackgroundAudio.ts#L23
TypeError: this.audioContext.suspend is not a function
at new suspend (src/audio/BackgroundAudio.ts:23:27)
at new LegacyCallHandler (src/LegacyCallHandler.tsx:171:31)
at Function.get instance [as instance] (src/LegacyCallHandler.tsx:176:42)
at VisibilityProvider.instance [as isRoomVisible] (src/stores/room-list/filters/VisibilityProvider.ts:38:31)
at RoomNotificationStateStore.isRoomVisible [as emitUpdateIfStateChanged] (src/stores/notifications/RoomNotificationStateStore.ts:119:45)
at EventEmitter.emitUpdateIfStateChanged (src/stores/notifications/RoomNotificationStateStore.ts:100:14)
at Object.emit (test/unit-tests/stores/RoomNotificationStateStore-test.ts:63:16)
|
Run tests
Process completed with exit code 1.
|
Loading