mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-04 23:05:50 +00:00
co-authored by
Robin
parent
3f63a6fc3c
commit
e393b6a984
@@ -102,9 +102,9 @@ export function createBaseUserMedia(
|
|||||||
scope.behavior(
|
scope.behavior(
|
||||||
combineLatest([participant$, showConnectionStats.value$]).pipe(
|
combineLatest([participant$, showConnectionStats.value$]).pipe(
|
||||||
switchMap(([p, showConnectionStats]) =>
|
switchMap(([p, showConnectionStats]) =>
|
||||||
!p || !showConnectionStats
|
p && showConnectionStats
|
||||||
? of(undefined)
|
? observeRtpStreamStats$(p, source, statsType)
|
||||||
: observeRtpStreamStats$(p, source, statsType),
|
: of(undefined),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user