How to use bitRate option for IOS Screen Recording

Hello,

I tried to screen record on iOS Simulator, and succeeded using the timeLimit option. I would like to use the bitRate option mentioned in Appium doc to reduce the size of the video, since video quality is not the goal here:

http://appium.io/docs/en/commands/device/recording-screen/start-recording-screen/

However, I could only find the method withBitRate() in AndroidStartScreenRecordingOptions and not for IOSStartScreenRecordingOptions, although it says “IOS Only” for this option in Appium doc.

Could anybody tell me if the options mentioned in the docs are all implemented? Any help would be appreciated.

Thank you in advance.

@mykola-mokhnach Is there any option for iOS to modify bitrate in screenrecording? thank you in advance.

no, on iOS it is only possible to change the FPS

@malhussan to reduce size of file you need first switch to VideoType - h264. Then reduce screen size (i guess you hardly need 1000 but e.g. i use 320 width and height proportionally decreased. FPS i use 30.

such config produces clear nice video with less then 1Mb for 1 min.

@mykola-mokhnach according to: https://github.com/appium/java-client/blob/891636ad2bb8d97ec6e0ad876843b466f8d152c5/src/main/java/io/appium/java_client/ios/IOSStartScreenRecordingOptions.java
we can use many things (not only FPS):

    private String videoType;
    private String videoQuality;
    private String videoScale;
    private String videoFilters;
    private Integer fps;

@Aleksei Thank you very much! I will try this out.