AWS Chime SDK – not able to record at max video resolution

I’m using Chime Javascript SDk, and I’m not able to get the maximum resolution from the user’s webcam when recording and saving the video.
I’ve set Video.MaxResolution to FHD in the backend logic, and on the frontend I’ve tried to force getting the highest resolution by setting:

getUserMedia({
  audio: true,
  video: {
    width: { ideal: 1920 },
    height: { ideal: 1080 },
  },
});

When debugging the frontend, I can confirm that the webcam stream is set to 1920×1080 but when I check the final video recording it’s still set to 1280×720.
Any idea why is that?

I’ve also set these settings:

const maxQuality = new VideoQualitySettings( 1920, 1080, 30 );
meetingSession.audioVideo.chooseVideoInputQuality(maxQuality);

What’s the best way to make sure the Chime SDK is recording in Full HD?

Thank you

Read more here: Source link