boilerplate for video to show up

This commit is contained in:
talksik
2022-06-19 10:16:08 -05:00
parent b23db49249
commit aba1ba3d87
2 changed files with 37 additions and 6 deletions
@@ -450,6 +450,7 @@ function Room({
);
toast.success('calling bunch of people');
// TODO : bring this stream object higher and add this later to the room
navigator.mediaDevices
.getUserMedia({ video: videoConstraints, audio: true })
.then((localMediaStream: MediaStream) => {