adjust to encrypted$ -> encrypted and VideoProcessor independent of LK

This commit is contained in:
Timo K.
2026-10-14 10:23:29 +02:00
committed by Timo
parent aac60b74dc
commit eaf747c107
3 changed files with 4 additions and 10 deletions
+1 -7
View File
@@ -91,13 +91,7 @@ export function createMemberMedia(
const unencrypted$ = (
track$: Behavior<MediaTrack | undefined>,
): Observable<boolean> =>
track$.pipe(
switchMap((track) =>
track === undefined
? of(false)
: track.encrypted$.pipe(map((encrypted) => !encrypted)),
),
);
track$.pipe(map((track) => track !== undefined && !track.encrypted));
return {
...createBaseMedia(inputs),