Skip to content

Conversation

@hiroshihorie
Copy link
Member

No description provided.

result.add(e.encoding.toRTCRtpEncoding(
rid: rid,
scaleResolutionDownBy: findEvenScaleDownBy(dimensions, e.dimensions),
scaleResolutionDownBy: size / e.dimensions.min(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Only realizing this now, but maybe we should enforce a minimum here, so that scaleResolutionDownBy never gets smaller than 1.0 ?

Copy link
Member Author

Choose a reason for hiding this comment

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

sure!

Copy link
Member Author

Choose a reason for hiding this comment

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

@davidliu I have removed findEvenScaleDownBy for now since it looks ok with M97, what do you think ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, that should be fine.

@hiroshihorie hiroshihorie merged commit 7c16d2f into main Mar 1, 2022
@hiroshihorie hiroshihorie deleted the compute-params branch March 1, 2022 01:45
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.

4 participants