comms setup and devices and cleanup
This commit is contained in:
@@ -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