mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-05-19 08:10:15 +00:00
Reduce bitrate when streaming HEVC to reduce bandwidth at better IQ than H.264
This commit is contained in:
@@ -327,6 +327,11 @@ void ClLogMessage(const char* format, ...)
|
||||
_streamConfig.supportsHevc = VTIsHardwareDecodeSupported(kCMVideoCodecType_HEVC);
|
||||
}
|
||||
|
||||
// Use some of the HEVC encoding efficiency improvements to
|
||||
// reduce bandwidth usage while still gaining some image
|
||||
// quality improvement.
|
||||
_streamConfig.hevcBitratePercentageMultiplier = 75;
|
||||
|
||||
// FIXME: We should use 1024 when streaming remotely
|
||||
_streamConfig.packetSize = 1292;
|
||||
|
||||
|
||||
Submodule moonlight-common/moonlight-common-c updated: 957b1de1ad...a135ceaa9a
Reference in New Issue
Block a user