Reduce bitrate when streaming HEVC to reduce bandwidth at better IQ than H.264

This commit is contained in:
Cameron Gutman committed 2017-10-17 01:07:41 -07:00
1 parent 25d7af9453
commit 5434b653c7
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -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;