lint
This commit is contained in:
12
sdk/main.ts
12
sdk/main.ts
@@ -32,7 +32,6 @@ import {
|
|||||||
type CallMembership,
|
type CallMembership,
|
||||||
MatrixRTCSession,
|
MatrixRTCSession,
|
||||||
MatrixRTCSessionEvent,
|
MatrixRTCSessionEvent,
|
||||||
SlotDescription,
|
|
||||||
} from "matrix-js-sdk/lib/matrixrtc";
|
} from "matrix-js-sdk/lib/matrixrtc";
|
||||||
import {
|
import {
|
||||||
type Room as LivekitRoom,
|
type Room as LivekitRoom,
|
||||||
@@ -98,10 +97,13 @@ export async function createMatrixRTCSdk(
|
|||||||
|
|
||||||
const mediaDevices = new MediaDevices(scope);
|
const mediaDevices = new MediaDevices(scope);
|
||||||
const muteStates = new MuteStates(scope, mediaDevices, constant(true));
|
const muteStates = new MuteStates(scope, mediaDevices, constant(true));
|
||||||
const rtcSession = new MatrixRTCSession(client, room, {
|
const slot = { application, id };
|
||||||
application,
|
const rtcSession = new MatrixRTCSession(
|
||||||
id,
|
client,
|
||||||
});
|
room,
|
||||||
|
MatrixRTCSession.sessionMembershipsForSlot(room, slot),
|
||||||
|
slot,
|
||||||
|
);
|
||||||
const callViewModel = createCallViewModel$(
|
const callViewModel = createCallViewModel$(
|
||||||
scope,
|
scope,
|
||||||
rtcSession,
|
rtcSession,
|
||||||
|
|||||||
Reference in New Issue
Block a user