dimensions property

  1. @JsonKey.new(name: 'dimensions')
VideoDimensions? dimensions
final

When setting encoding resolution in a document sharing scenario (screenScenarioDocument), choose one of the following: For optimal image quality, set the encoding resolution the same as the capture resolution. For a balance between quality, bandwidth, and performance: If capture resolution is greater than 1920 × 1080, set encoding resolution no lower than 1920 × 1080. If capture resolution is less than 1920 × 1080, set encoding resolution no lower than 1280 × 720. Video encoding resolution of the screen sharing stream. See VideoDimensions. Default is 1920 × 1080, i.e., 2073600 pixels. This pixel count is used for billing. If the aspect ratio of the shared screen resolution differs from this setting, the SDK encodes according to the following strategy. Assuming dimensions is set to 1920 × 1080: If the screen resolution is smaller than dimensions, e.g., 1000 × 1000, the SDK encodes at 1000 × 1000. If the screen resolution is larger than dimensions, e.g., 2000 × 1500, the SDK encodes at the maximum resolution within dimensions that matches the screen's aspect ratio (4:3), i.e., 1440 × 1080.

Implementation

@JsonKey(name: 'dimensions')
final VideoDimensions? dimensions;