Use the unmodified FPS value when sending the launch request

This commit is contained in:
Cameron Gutman
2020-02-22 01:28:41 -08:00
parent dcb7be3acd
commit 3011a5bad7
5 changed files with 14 additions and 5 deletions

View File

@@ -438,6 +438,7 @@ public class Game extends Activity implements SurfaceHolder.Callback,
StreamConfiguration config = new StreamConfiguration.Builder()
.setResolution(prefConfig.width, prefConfig.height)
.setLaunchRefreshRate(prefConfig.fps)
.setRefreshRate(chosenFrameRate)
.setApp(new NvApp(appName != null ? appName : "app", appId, willStreamHdr))
.setBitrate(prefConfig.bitrate)