height property Null safety
read / write
Video encoding resolution, a measure of encoding quality, represented by width x height. You can select this profile or maxProfile. The height represents the pixels of the video frame on the vertical axis. You can enter a custom value.
- If you set the value to a negative number, the maxProfile setting is used.
- If you want to customize the resolution, set this profile and maxProfile becomes invalid.
If the width and height of the custom video input are invalid, the width and height are automatically scaled based on maxProfile.
Implementation
int height = 0;