seems like the grabbing of streams doesn't slow down computer? idk for sure but seems find
This commit is contained in:
@@ -52,14 +52,6 @@ export default function Header() {
|
|||||||
5000
|
5000
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
[...Array(20)].map(() => {
|
|
||||||
navigator.mediaDevices
|
|
||||||
.getUserMedia({ video: true, audio: false })
|
|
||||||
.then((localMediaStream: any) => {
|
|
||||||
console.log(localMediaStream);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const handleClick = (event: any) => {
|
const handleClick = (event: any) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user