fun onPause(): void
Must be call on Activity Pause! It stop the preview and releaseGlContext the camera.