https://github.com/cokecoffe/ios-demo/tree/master/CameraWithAVFoudation