comms setup and devices and cleanup
This commit is contained in:
@@ -93,7 +93,6 @@
|
||||
"typescript": "~4.5.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@100mslive/react-sdk": "^0.1.0",
|
||||
"@emotion/react": "^11.9.0",
|
||||
"@emotion/styled": "^11.8.1",
|
||||
"@getstation/electron-google-oauth2": "^2.1.0",
|
||||
|
||||
@@ -18,7 +18,11 @@ export function CommunicationsProvider({ children }: { children: React.ReactNode
|
||||
|
||||
// todo save the selected devices in localstorage
|
||||
|
||||
useEffect(() => {}, []);
|
||||
useEffect(() => {
|
||||
navigator.mediaDevices.getDisplayMedia().then((mediaStream) => {
|
||||
console.log('selected stream', mediaStream);
|
||||
});
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<CommunicationsContext.Provider value={{ userDeviceSelections }}>
|
||||
|
||||
Reference in New Issue
Block a user