when try to record video in real device iOS
then i reinstall also ffmpeg by
brew install ffmpeg
the video is recorded by corrupted 0 byte
it appeared issue
unknown server-side error occurred while processing the command. Original error: ‘ffmpeg’ binary is not found in PATH. Install it using ‘brew install ffmpeg’. Check https://www.ffmpeg.org/download.html for more details.
start programmatically does not count as update or install. it just a command in terminal.
also you can add following capabilities:
capabilities.setCapability(IOSMobileCapabilityType.USE_PREBUILT_WDA, true); // no need to build WDA. in case you build it manually after appium reinstall/install.
capabilities.setCapability(IOSMobileCapabilityType.USE_NEW_WDA, false); // do not update WDA on phone if it exists. use with caution! after reinstall appium you should set it true at least one time