Fix speaker view not auto switching on presenting

This commit is contained in:
Jamie Kyle 2023-08-30 14:34:58 -07:00 committed by GitHub
parent 67a51415d0
commit a4fffdfbfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 1 deletions

View file

@ -304,6 +304,7 @@ export function GroupCall1(): JSX.Element {
callMode: CallMode.Group,
remoteParticipants: [
{
aci: generateAci(),
demuxId: 0,
hasRemoteAudio: true,
hasRemoteVideo: true,
@ -328,6 +329,7 @@ GroupCall1.story = {
// We generate these upfront so that the list is stable when you move the slider.
const allRemoteParticipants = times(MAX_PARTICIPANTS).map(index => ({
aci: generateAci(),
demuxId: index,
hasRemoteAudio: index % 3 !== 0,
hasRemoteVideo: index % 4 !== 0,
@ -371,6 +373,7 @@ export function GroupCallReconnecting(): JSX.Element {
connectionState: GroupCallConnectionState.Reconnecting,
remoteParticipants: [
{
aci: generateAci(),
demuxId: 0,
hasRemoteAudio: true,
hasRemoteVideo: true,