element-web/src/call-types.ts

21 lines
670 B
TypeScript
Raw Normal View History

2022-03-24 22:26:09 +01:00
/*
Copyright 2024 New Vector Ltd.
2022-03-24 22:26:09 +01:00
Copyright 2022 The Matrix.org Foundation C.I.C.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
Please see LICENSE files in the repository root for full details.
2022-03-24 22:26:09 +01:00
*/
// Event type for room account data and room creation content used to mark rooms as virtual rooms
// (and store the ID of their native room)
2022-12-12 12:24:14 +01:00
export const VIRTUAL_ROOM_EVENT_TYPE = "im.vector.is_virtual_room";
export const JitsiCallMemberEventType = "io.element.video.member";
export interface JitsiCallMemberContent {
// Connected device IDs
devices: string[];
// Time at which this state event should be considered stale
expires_ts: number;
}