aws / amazon-chime-sdk-js

A JavaScript client library for integrating multi-party communications powered by the Amazon Chime service.
Apache License 2.0
701 stars 473 forks source link

chooseVideoInputQuality api not working when hd (1280X720) resolution is selected. #2759

Open Yadukrish opened 11 months ago

Yadukrish commented 11 months ago

What happened and what did you expect to happen?

audioVideo.chooseVideoInputQuality(1280, 720, 30) api is calling before choosing video device when we first start the meeting session.

But this is not reflecting in the video quality for the first time. But when we toggle the video then the video metric shows the quality is hd as desired.

Same issue is not there when we use backround blur or virtual bg image.

  1. Video metrics at the start of meeting(first time turning on camera) - Resolution 640X360 b1

  2. Video metrics after the user toggles the camera (second time turning on camera) - Resolution 1280X720 b2

Have you reviewed our existing documentation?

Reproduction steps

Start the meeting session by choosing audioVideo.chooseVideoInputQuality(1280, 720, 30) ; Then start the camera and check video metrics for resolution. Toggle the camera again and check the video metrics for resolution.

Amazon Chime SDK for JavaScript version

3.16.0

What browsers are you seeing the problem on?

All browsers

Browser version

All versions

Meeting and Attendee ID Information.

No response

Browser console logs

b3.log