Clients are advised to always set the desired rate control mode, using videobitratemode or Image.I#.RateControl.Mode. Already today, that will give the expected behaviour.
For MBR, the maximum bitrate should be specified using videomaxbitrate or Image.I#.RateControl.MaxBitrate.
A common requirement is to construct a request that works with all versions of the Rate Control API. For MBR, this could be
Prior to version 1.1
- videobitratemode is not supported. It will be ignored and not cause any error.
- videobitrate in the request will make sure Image.I#.RateControl.TargetBitrate will not influence the used maximum bitrate. (For non-zero TargetBitrate, the maximum bitrate would otherwise be the lowest of TargetBitrate and videomaxbitrate).
For version 1.1 and later, videobitratemode will give MBR. For version 2.0 and later, videobitrate will be ignored.