width property

  1. @JsonKey(includeIfNull: false)
int? width
getter/setter pair

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 anyrtc server adjusts the value to 64.
  • When pushing audio streams to the CDN, set width and height as 0.

Implementation

@JsonKey(includeIfNull: false)
int? width;