1280x720
before trying to increase the resolution. The process of finding a good recording resolution given your app's rendering characteristics is a highly empirical process. As a result, you must profile your app in your development environments. In Unity, use the Profiler. On iOS development, use the Xcode frame debugger and Instruments. On Android, use the Android profiler.CameraInput
class provides the frameSkip property for this purpose.Commit*
methods will block until the frame has been consumed. This process takes time, depending on whether the encoder is ready to take more samples, or how much load the system is under.