Skip to content

Commit

Permalink
Add constraints to video size and fps
Browse files Browse the repository at this point in the history
  • Loading branch information
ValarMarkhulis committed Dec 15, 2022
1 parent b23d8a4 commit 53a3044
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/screens/CallScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ function CallScreen({ clientId }) {
audio: true,
fake: fakeCamera(),
video: {
height: 350,
width: 350,
height: {exact: 480},
width: {exact: 640},
frameRate: { exact: 30 }
},
})
.then((stream) => {
Expand Down

0 comments on commit 53a3044

Please sign in to comment.