Group calling: add speaker view
This commit is contained in:
parent
fbfcdbf84e
commit
b281420a40
16 changed files with 174 additions and 19 deletions
|
@ -44,6 +44,7 @@ const conversation = {
|
|||
interface OverridePropsBase {
|
||||
hasLocalAudio?: boolean;
|
||||
hasLocalVideo?: boolean;
|
||||
isInSpeakerView?: boolean;
|
||||
}
|
||||
|
||||
interface DirectCallOverrideProps extends OverridePropsBase {
|
||||
|
@ -113,6 +114,10 @@ const createActiveCallProp = (
|
|||
'hasLocalVideo',
|
||||
overrideProps.hasLocalVideo || false
|
||||
),
|
||||
isInSpeakerView: boolean(
|
||||
'isInSpeakerView',
|
||||
overrideProps.isInSpeakerView || false
|
||||
),
|
||||
pip: false,
|
||||
settingsDialogOpen: false,
|
||||
showParticipantsList: false,
|
||||
|
@ -152,6 +157,7 @@ const createProps = (
|
|||
toggleParticipants: action('toggle-participants'),
|
||||
togglePip: action('toggle-pip'),
|
||||
toggleSettings: action('toggle-settings'),
|
||||
toggleSpeakerView: action('toggle-speaker-view'),
|
||||
});
|
||||
|
||||
const story = storiesOf('Components/CallScreen', module);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue