Show toast when group call is reconnecting

This commit is contained in:
Evan Hahn 2020-12-01 10:46:44 -06:00 committed by GitHub
parent 2b8ae412e0
commit 4c78a6c57f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 88 additions and 2 deletions

View file

@ -80,7 +80,7 @@ const createProps = (
hasLocalVideo: true,
pip: false,
settingsDialogOpen: false,
showParticipantsList: true,
showParticipantsList: false,
},
call: overrideProps.callTypeState || getDirectCallState(overrideProps),
conversation: {
@ -233,3 +233,24 @@ story.add('Group call - Many', () => (
})}
/>
));
story.add('Group call - reconnecting', () => (
<CallScreen
{...createProps({
callTypeState: {
...getGroupCallState(),
connectionState: GroupCallConnectionState.Reconnecting,
},
groupCallParticipants: [
{
demuxId: 0,
hasRemoteAudio: true,
hasRemoteVideo: true,
isSelf: false,
title: 'Tyler',
videoAspectRatio: 1.3,
},
],
})}
/>
));