Show local speaking indicator for group calls

This commit is contained in:
Evan Hahn
2022-02-25 09:24:05 -06:00
committed by GitHub
parent dbb732e7cf
commit 41b4cce6ec
14 changed files with 87 additions and 32 deletions

View File

@@ -44,6 +44,7 @@ const conversation = getDefaultConversation({
type OverridePropsBase = {
hasLocalAudio?: boolean;
hasLocalVideo?: boolean;
amISpeaking?: boolean;
isInSpeakerView?: boolean;
};
@@ -120,6 +121,7 @@ const createActiveCallProp = (
'hasLocalVideo',
overrideProps.hasLocalVideo || false
),
amISpeaking: boolean('amISpeaking', overrideProps.amISpeaking || false),
isInSpeakerView: boolean(
'isInSpeakerView',
overrideProps.isInSpeakerView || false