我的问题是我想用AVVideoCodecHEVC.我知道它仅适用于iOS 11,但没有A10芯片的设备不支持它.
AVVideoCodecHEVC
因此,如果使用像iPhone 6这样没有A10芯片的设备,则使用 if #available(iOS 11.0, *) { let self.codec = AVVideoCodecHEVC } Will throw Cannot Encode错误.有没有人能够弄清楚运行iOS 11的设备是否可以支持HEVC?
if #available(iOS 11.0, *) { let self.codec = AVVideoCodecHEVC }
Cannot Encode
encode codec h.265 hevc swift
codec ×1
encode ×1
h.265 ×1
hevc ×1
swift ×1