Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(setup) select preferred resolution #1032

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Conversation

mihhu
Copy link
Member

@mihhu mihhu commented Aug 25, 2023

No description provided.

Copy link
Member

@saghul saghul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments, PTAL!

spot-client/src/common/utils/meeting.js Show resolved Hide resolved
* @param {string} preferredResolution - The resolution of choice.
* @returns {boolean}
*/
export const getVideoConstraints = (preferredAspectRatio, preferredResolution) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does the aspect ratio come from? I think we should use 16 / 9 at all times. Regardless of the size of the app window, cameras support stabndard aspect ratios, and requiring 16 / 9 for an in-room device sounds very reasonable.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used this, but I'll switch it to 16 / 9.

Copy link
Member

@saghul saghul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very very well done! 💪🙌

@mihhu mihhu merged commit d0c190f into master Sep 6, 2023
5 checks passed
@mihhu mihhu deleted the preferred-resolution branch September 6, 2023 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants