mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-16 06:17:10 +00:00
test switchero
This commit is contained in:
@@ -397,10 +397,12 @@ class ControlledAudioOutput implements MediaDevice<
|
||||
combineLatest(
|
||||
[
|
||||
this.available$,
|
||||
merge(
|
||||
controlledOutputSelection$.pipe(startWith(undefined)),
|
||||
this.deviceSelection$,
|
||||
),
|
||||
this.platform == "android"
|
||||
? this.deviceSelection$ // On android ignore native forcing the selection (TODO add test to ensure adding a BT device switch to it)
|
||||
: merge(
|
||||
controlledOutputSelection$.pipe(startWith(undefined)),
|
||||
this.deviceSelection$,
|
||||
),
|
||||
],
|
||||
(available, preferredId) => {
|
||||
this.logger.debug(
|
||||
|
||||
Reference in New Issue
Block a user