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