Add a 'waiting for video' state to media tiles

This will show if the call is waiting for media to connect (in practice
doesn't actually seem to happen all that often) but also show if the
media connection is lost, with the js-sdk change.

Requires https://github.com/matrix-org/matrix-js-sdk/pull/2880
Fixes: https://github.com/vector-im/element-call/issues/669
This commit is contained in:
David Baker 2022-11-15 16:13:33 +00:00
commit 80f07a5454
7 changed files with 98 additions and 12 deletions

View file

@ -79,6 +79,7 @@ export function GroupCallView({
isScreensharing,
screenshareFeeds,
participants,
calls,
unencryptedEventsFromUsers,
} = useGroupCall(groupCall);
@ -235,6 +236,7 @@ export function GroupCallView({
roomName={groupCall.room.name}
avatarUrl={avatarUrl}
participants={participants}
calls={calls}
microphoneMuted={microphoneMuted}
localVideoMuted={localVideoMuted}
toggleLocalVideoMuted={toggleLocalVideoMuted}