Don't suppress high refresh rates with Sunshine

This commit is contained in:
Cameron Gutman
2023-02-02 23:13:09 -06:00
parent eefe8522c4
commit dbb3087078
2 changed files with 7 additions and 6 deletions

View File

@@ -76,6 +76,10 @@
}
}
// Populate the config's version fields from serverinfo
_config.appVersion = appversion;
_config.gfeVersion = gfeVersion;
// resumeApp and launchApp handle calling launchFailed
NSString* sessionUrl;
if ([serverState hasSuffix:@"_SERVER_BUSY"]) {
@@ -93,10 +97,6 @@
// Populate RTSP session URL from launch/resume response
_config.rtspSessionUrl = sessionUrl;
// Populate the config's version fields from serverinfo
_config.appVersion = appversion;
_config.gfeVersion = gfeVersion;
// Initializing the renderer must be done on the main thread
dispatch_async(dispatch_get_main_queue(), ^{
VideoDecoderRenderer* renderer = [[VideoDecoderRenderer alloc] initWithView:self->_renderView callbacks:self->_callbacks streamAspectRatio:(float)self->_config.width / (float)self->_config.height useFramePacing:self->_config.useFramePacing];