fun setMaxResolution(maxResolution: VideoResolution): Unit
Set max resolution for video capture source DefaultCameraCaptureSource and DefaultScreenCaptureSource call this function to set max resolution for camera and screen capture