* Show a lobby screen in video rooms * Add connecting state * Test VideoRoomView * Test VideoLobby * Get the local video stream with useAsyncMemo * Clean up code review nits * Explicitly state what !important is overriding * Use spacing variables * Wait for video channel messaging * Update join button copy * Show frame on both the lobby and widget * Force dark theme for video lobby * Wait for the widget to be ready * Make VideoChannelStore constructor private * Allow video lobby to shrink * Add invite button to video room header * Show connected members on lobby screen * Make avatars in video lobby clickable * Increase video channel store timeout * Fix Jitsi Meet getting wedged on startup in Chrome and Safari * Revert "Fix Jitsi Meet getting wedged on startup in Chrome and Safari" This reverts commit 9f77b8c227c1a5bffa5d91b0c48bf3bbc44d4cec. * Disable device buttons while connecting * Factor RoomFacePile into a separate file * Fix i18n lint * Fix switching video channels while connected * Properly limit number of connected members in face pile * Fix CSS lint
46 lines
1.4 KiB
TypeScript
46 lines
1.4 KiB
TypeScript
/*
|
|
* Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
import { IWidgetApiRequest } from "matrix-widget-api";
|
|
|
|
export enum ElementWidgetActions {
|
|
ClientReady = "im.vector.ready",
|
|
WidgetReady = "io.element.widget_ready",
|
|
JoinCall = "io.element.join",
|
|
HangupCall = "im.vector.hangup",
|
|
CallParticipants = "io.element.participants",
|
|
MuteAudio = "io.element.mute_audio",
|
|
UnmuteAudio = "io.element.unmute_audio",
|
|
MuteVideo = "io.element.mute_video",
|
|
UnmuteVideo = "io.element.unmute_video",
|
|
StartLiveStream = "im.vector.start_live_stream",
|
|
OpenIntegrationManager = "integration_manager_open",
|
|
|
|
/**
|
|
* @deprecated Use MSC2931 instead
|
|
*/
|
|
ViewRoom = "io.element.view_room",
|
|
}
|
|
|
|
/**
|
|
* @deprecated Use MSC2931 instead
|
|
*/
|
|
export interface IViewRoomApiRequest extends IWidgetApiRequest {
|
|
data: {
|
|
room_id: string; // eslint-disable-line camelcase
|
|
};
|
|
}
|