Translated by OOPer in cooperation with shlab.jp, on 2015/5/3.
Based on https://developer.apple.com/library/content/samplecode/AVCamManual/Introduction/Intro.html#//apple_ref/doc/uid/TP40014578 2016-09-15.
As this is a line-by-line translation from the original sample code, "redistribute the Apple Software in its entirety and without modifications" would apply. See LICENSE.txt . Some faults caused by my translation may exist. Not all features tested. You should not contact to Apple or SHLab(jp) about any faults caused by my translation.
Xcode 9 beta 5, iOS 11 SDK
iOS 8.0
(Compatibility code is not well-tested.)