Removed screensharing extension. Added some small optimization fixes.

This commit is contained in:
Håvar Aambø Fosstveit
2019-06-04 12:58:12 +02:00
parent 0aa0aa08b0
commit a3013bb716
12 changed files with 31 additions and 314 deletions
-10
View File
@@ -5,7 +5,6 @@ const initialState =
canSendMic : false,
canSendWebcam : false,
canShareScreen : false,
needExtension : false,
canShareFiles : false,
audioDevices : null,
webcamDevices : null,
@@ -50,7 +49,6 @@ const me = (state = initialState, action) =>
canSendMic,
canSendWebcam,
canShareScreen,
needExtension,
canShareFiles
} = action.payload;
@@ -59,18 +57,10 @@ const me = (state = initialState, action) =>
canSendMic,
canSendWebcam,
canShareScreen,
needExtension,
canShareFiles
};
}
case 'SET_SCREEN_CAPABILITIES':
{
const { canShareScreen, needExtension } = action.payload;
return { ...state, canShareScreen, needExtension };
}
case 'SET_AUDIO_DEVICES':
{
const { devices } = action.payload;