Skip to content

VNC-104 properly support frame rates from 10 to 120#170

Open
mmcclaskey wants to merge 1 commit intomasterfrom
feature/VNC-104_frame_rates_over_60
Open

VNC-104 properly support frame rates from 10 to 120#170
mmcclaskey wants to merge 1 commit intomasterfrom
feature/VNC-104_frame_rates_over_60

Conversation

@mmcclaskey
Copy link
Collaborator

This requires accompanying changes on the server side to support up to 120 fps.

const frameRate = Math.round(Math.max(10, Math.min(120, this.frameRate)));
if (frameRate !== this.frameRate) {
Log.Warn("Frame rate value " + this.frameRate + " adjusted to " + frameRate);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this.frameRate be assigned frameRate?

Copy link
Collaborator

@quickiwiki quickiwiki left a comment

Choose a reason for hiding this comment

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

Left a small question

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.

3 participants