width property Null safety

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

Width (pixel) of the video. The default value is 360.

  • When pushing video streams to the CDN, ensure that width 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.


@JsonKey(includeIfNull: false)
int? width;