Quick way to replace matrix JS SDK with LiveKit

This commit is contained in:
Daniel Abramov
2023-06-02 14:49:11 +02:00
parent fb9dd7ff71
commit ee1819a0b6
13 changed files with 177 additions and 800 deletions

View File

@@ -15,7 +15,7 @@ limitations under the License.
*/
import { RoomMember } from "matrix-js-sdk";
import { CallFeed } from "matrix-js-sdk/src/webrtc/callFeed";
import { LocalParticipant, RemoteParticipant } from "livekit-client";
import { ConnectionState } from "../room/useGroupCall";
@@ -26,7 +26,7 @@ export interface TileDescriptor {
member: RoomMember;
focused: boolean;
presenter: boolean;
callFeed?: CallFeed;
isLocal?: boolean;
connectionState: ConnectionState;
sfuParticipant?: LocalParticipant | RemoteParticipant;
}