Skip to content

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

0

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 1920x1080 but when I check the final video recording it's still set to 1280x720. 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

asked a year ago243 views
1 Answer
0

There are a few factors to consider regarding your issue with recording at maximum video resolution in the Amazon Chime SDK:

  1. Meeting Configuration: While you've set Video.MaxResolution to FHD in the backend, it's important to note that this setting specifies the maximum allowed resolution for the meeting. It doesn't guarantee that all video will be at that resolution.

  2. Client Capabilities: The actual resolution depends on various factors, including the capabilities of the user's device and browser. Even if a camera can capture at 1080p, the browser or device might limit the output.

  3. Bandwidth and Performance: The Chime SDK may automatically adjust the resolution based on available bandwidth and system performance to maintain a smooth experience.

  4. Simulcast: When simulcast is active, it sends each video stream in two different resolutions and bitrates. The highest resolution with simulcast is limited to 1280x720 at 15 frames per second.

  5. SDK Limitations: The Amazon Chime SDK for JavaScript supports standard (1280x720) and high definition (1920x1080) video resolutions at 30 frames per second without simulcast. However, with simulcast, it's limited to 15 frames per second.

To ensure you're getting the highest possible resolution:

  1. Verify that simulcast is disabled if you need 1080p at 30fps.

  2. Check the actual resolution of the video stream being sent, not just the camera capabilities.

  3. Ensure all participants have sufficient bandwidth and processing power to handle 1080p video.

  4. Consider using the setVideoCodecSendPreferences function to prioritize higher quality codecs like VP9.

  5. Monitor the network conditions and device performance during the meeting, as the SDK may dynamically adjust quality.

Remember that while you can request 1080p, the actual resolution may be lower due to various factors. The SDK aims to balance quality with performance and bandwidth usage for the best overall experience.
Sources
Amazon Chime SDK - FAQs
Configuring video codecs for Amazon Chime SDK meetings - Amazon Chime SDK
Using the Amazon Chime SDK - Amazon Chime SDK

answered a year ago
  • I've checked all the recommandations listed, but still not getting the full HD resolution. Simulcast is disabled, the video stream resolution is 1920x1080, the bandwith and network conditions are good

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.