Disable HEVC until iPhone X and other issues can be sorted out. See #296

This commit is contained in:
Cameron Gutman 2018-02-24 21:16:02 -08:00
parent 127e5ed54a
commit 1c86c4485d

View File

@ -336,7 +336,10 @@ void ClLogMessage(const char* format, ...)
// On iOS 11, we can use HEVC if the server supports encoding it
// and this device has hardware decode for it (A9 and later)
if (@available(iOS 11.0, *)) {
_streamConfig.supportsHevc = VTIsHardwareDecodeSupported(kCMVideoCodecType_HEVC);
// FIXME: Disabled due to incompatibility with iPhone X causing video
// to freeze. Additionally, RFI is not supported so packet loss recovery
// is worse with HEVC than H.264.
//_streamConfig.supportsHevc = VTIsHardwareDecodeSupported(kCMVideoCodecType_HEVC);
}
// Use some of the HEVC encoding efficiency improvements to