Update to changes in the sdk.

- plain tracks instead of media$
This commit is contained in:
Timo K.
2026-10-14 10:23:29 +02:00
committed by Timo
parent 52aaf84c3e
commit 7c5d1324e7
19 changed files with 358 additions and 259 deletions
+2 -3
View File
@@ -28,7 +28,6 @@ import {
mockMatrixRoom,
mockMatrixRTCClient,
mockMediaDevices,
mockMemberMedia,
mockMuteStates,
MockRTCSession,
mockRTCMember,
@@ -172,7 +171,7 @@ export function getBasicCallViewModelEnvironment(
(m) => m.userId === localRtcMember.userId,
),
transportUrl: "https://example.com",
media$: constant(mockMemberMedia({ local: true })),
tracks$: constant([]),
})
: null,
),
@@ -188,7 +187,7 @@ export function getBasicCallViewModelEnvironment(
membership,
roomMember: members.find((m) => m.userId === membership.userId),
transportUrl: "https://example.com",
media$: constant(mockMemberMedia()),
tracks$: constant([]),
}),
),
),