Add videoScale for iOS and videoSize for Android when starting video recordings to set the video resolution. This solves issues where no video gets recorded for tests. For iOS it fixes this issue seen in Appium logs:
2023-03-01 14:02:28:732 - [ffmpeg] [libx264 @ 0x7fda5f005280] width not divisible by 2 (1125x2436)
For Android is solves an issue where the device cannot record video at full resolution.
Display is 1440x3040 @60.00fps (orientation=ROTATION_0), layerStack=0
Configuring recorder for 1440x3040 video/avc at 20.00Mbps
Content area is 1440x3040 at offset x=0 y=0
Stopping encoder and muxer
Unable to get output buffers (err=-38)
Encoder failed (err=-38)
Add
videoScale
for iOS andvideoSize
for Android when starting video recordings to set the video resolution. This solves issues where no video gets recorded for tests. For iOS it fixes this issue seen in Appium logs:For Android is solves an issue where the device cannot record video at full resolution.
Fixes #81