merge: upstream Element Call v0.28.0 (cinny #201) #61
@@ -102,9 +102,9 @@ export function createBaseUserMedia(
|
||||
scope.behavior(
|
||||
combineLatest([participant$, showConnectionStats.value$]).pipe(
|
||||
switchMap(([p, showConnectionStats]) =>
|
||||
!p || !showConnectionStats
|
||||
? of(undefined)
|
||||
: observeRtpStreamStats$(p, source, statsType),
|
||||
p && showConnectionStats
|
||||
? observeRtpStreamStats$(p, source, statsType)
|
||||
: of(undefined),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user