Beispiel #1
0
 public override void OnOpened(CameraDevice camera)
 {
     recordManager.cameraDevice = camera;
     recordManager.startPreview();
     recordManager.cameraOpenCloseLock.Release();
     if (null != activity.textureView)
     {
         recordManager.configureTransform(activity.textureView.Width, activity.textureView.Height);
     }
 }
Beispiel #2
0
 public void OnSurfaceTextureSizeChanged(SurfaceTexture surface_texture, int width, int height)
 {
     recordManager.configureTransform(width, height);
 }