I changed the FPS in MediaDevices.getUserMedia() but resolution also got changed. How can I reduce the FPS, while keeping the resolution at 640 × 480?
I tried the code below, but the video is displayed in a different resolution.
var constraints = {
video: {
width: 640,
height: 480,
frameRate: {
ideal: 10,
max: 15
}
}
};