mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-16 21:50:57 +00:00
Disable HEVC until iPhone X and other issues can be sorted out. See #296
This commit is contained in:
@@ -336,7 +336,10 @@ void ClLogMessage(const char* format, ...)
|
|||||||
// On iOS 11, we can use HEVC if the server supports encoding it
|
// On iOS 11, we can use HEVC if the server supports encoding it
|
||||||
// and this device has hardware decode for it (A9 and later)
|
// and this device has hardware decode for it (A9 and later)
|
||||||
if (@available(iOS 11.0, *)) {
|
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
|
// Use some of the HEVC encoding efficiency improvements to
|
||||||
|
|||||||
Reference in New Issue
Block a user