Add 360p option and change bitrate to kbps

This commit is contained in:
Cameron Gutman
2018-02-24 21:05:45 -08:00
parent 88f9b68db7
commit 0ec6dcd67e
16 changed files with 80 additions and 35 deletions

View File

@@ -350,7 +350,7 @@ public class Game extends Activity implements SurfaceHolder.Callback,
.setResolution(prefConfig.width, prefConfig.height)
.setRefreshRate(prefConfig.fps)
.setApp(new NvApp(appName, appId, willStreamHdr))
.setBitrate(prefConfig.bitrate * 1000)
.setBitrate(prefConfig.bitrate)
.setEnableSops(prefConfig.enableSops)
.enableLocalAudioPlayback(prefConfig.playHostAudio)
.setMaxPacketSize((remote || prefConfig.width <= 1920) ? 1024 : 1292)