Add the ability for a peer to have several video producers in a room.

This commit is contained in:
Håvar Aambø Fosstveit
2020-05-04 00:16:23 +02:00
parent a0cd4416d8
commit 08e2c425c6
27 changed files with 962 additions and 191 deletions
+8
View File
@@ -20,6 +20,7 @@ const initialState =
selectedPeerId : null,
spotlights : [],
settingsOpen : false,
extraVideoOpen : false,
currentSettingsTab : 'media', // media, appearence, advanced
lockDialogOpen : false,
joined : false,
@@ -114,6 +115,13 @@ const room = (state = initialState, action) =>
return { ...state, settingsOpen };
}
case 'SET_EXTRA_VIDEO_OPEN':
{
const { extraVideoOpen } = action.payload;
return { ...state, extraVideoOpen };
}
case 'SET_SETTINGS_TAB':
{
const { tab } = action.payload;