Get maximum video resolution with getUserMedia

后端 未结 7 1088
天命终不由人
天命终不由人 2020-12-13 18:17

I\'m trying to get highest video resolution as possible through JS navigator.getUserMedia. I know about constraints, but don\'t know how to choose right in my c

7条回答
  •  情歌与酒
    2020-12-13 18:49

    You can check this utility to check the available resolutions of your devices:

    https://webrtchacks.github.io/WebRTC-Camera-Resolution/

    It is useful for troubleshooting purposes.

    Hope you find it interesting!

提交回复
热议问题