code: public void setCapture(boolean capture, float fps) {
          capturing = capture;
          NativeTextureCapturer.setCapture(getNative(), capture, fps);
      }
docs: Starts or stops capturing.
  
  @param capture If true, capturing is started. If false, it is stopped.
  @param fps Capturing FPS (frames per second).