docs: public void onSurfaceCreated(int textureId) {
          if (VERBOSE) Log.i(TAG, "onSurfaceCreated. Saving EGL State");
          synchronized (mReadyFence) {
              // The Host Activity lifecycle may go through a OnDestroy ... OnCreate ... OnSurfaceCreated ... OnPause ... OnStop...
              // on it's way out, so our real sense of bearing should come from whether the EncoderThread is running
              if (mReady) {
                  mEglSaver.saveEGLState();
                  mHandler.sendMessage(mHandler.obtainMessage(MSG_SET_SURFACE_TEXTURE, textureId));
              }
          }
      }