AVFoundation系列八:直接顯示CMSampleBufferRef的視圖AVSampleBufferDisplayLayer

在處理CMSampleBufferRef時,一般會轉成 UIImage,而後顯示,其實 Apple 爲咱們提供了一個類,專門用於顯示CMSampleBufferRef,這個類就是AVSampleBufferDisplayLayer。 原文 github 分支:https://github.com/quinn0809/VideoCameragit Demo:https://github.com/qu
相關文章
相關標籤/搜索