height property Null safety

int? height
@JsonKey(includeIfNull: false), read / write

Height (pixel) of the video. The default value is 640.

  • When pushing video streams to the CDN, ensure that height is at least 64; otherwise, the Agora server adjusts the value to 64.
  • When pushing audio streams to the CDN, set width and height as 0.

Implementation

@JsonKey(includeIfNull: false)
int? height;