private void releaseDisplayView ( ) { if ( mDisplayView instanceof GLCameraEncoderView ) { ( ( GLCameraEncoderView ) mDisplayView ) . releaseCamera ( ) ; } else if ( mDisplayView instanceof GLCameraView ) ( ( GLCameraView ) mDisplayView ) . releaseCamera ( ) ; }
Communicate camera - released state to our display view .