dimensions property

  1. @JsonKey(includeIfNull: false)
VideoDimensions? dimensions
getter/setter pair

The maximum dimensions of encoding the shared region. If the screen dimensions are different from the value of this parameter, Agora applies the following strategies for encoding. Suppose dimensions are set to 1,920 x 1,080: If the value of the screen dimensions is lower than that of dimensions, for example, 1,000 x 1,000 pixels, the SDK uses 1,000 x 1,000 pixels for encoding. If the value of the screen dimensions is larger than that of dimensions, for example, 2,000 × 1,500, the SDK uses the maximum value next to 1,920 × 1,080 with the aspect ratio of the screen dimension (4:3) for encoding, that is, 1,440 × 1,080.

Implementation

@JsonKey(includeIfNull: false)
VideoDimensions? dimensions;