RCCallVideoBitrateMode enum
Values
- cq → const RCCallVideoBitrateMode
-
ZHConstant quality mode
完全不控制码率,尽最大可能保证图像质量; 质量要求高、带宽足够、解码器支持码率剧烈波动的情况下,可以选择 CQ 码率控制策略。
ENConstant quality mode
Maximizes image quality without bitrate control Ideal when quality matters, bandwidth is sufficient, and the decoder handles bitrate fluctuations
- vbr → const RCCallVideoBitrateMode
-
ZHVariable bitrate mode
码率可以随着图像的复杂程度的不同而变化,因此其编码效率比较高,马赛克很少。适合的应用场景是媒体存储,而不是网络传输; VBR 输出码率会在一定范围内波动,对于小幅晃动,方块效应会有所改善,但对剧烈晃动仍无能为力;连续调低码率则会导致码率急剧下降,如果无法接受这个问题,那 VBR 就不是好的选择。
ENVariable bitrate mode
Bitrate adjusts to image complexity for higher encoding efficiency with minimal artifacts. Best for media storage, not streaming. VBR bitrate fluctuates within a range—reduces blocking for minor motion but struggles with rapid movement. Consistently lowering bitrate may cause sharp drops. Avoid VBR if this is unacceptable.
- cbr → const RCCallVideoBitrateMode
-
ZHConstant bitrate mode
码率在流的进行过程中基本保持恒定并且接近目标码率,当对复杂内容编码时质量会下降。在流式播放方案中使用CBR编码最为有效 CBR 的优点是稳定可控,这样对实时性的保证有帮助.
ENConstant bitrate mode
Maintains steady bitrate close to target, though complex content may reduce quality. Best for streaming CBR ensures stable performance for real-time needs
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
RCCallVideoBitrateMode> - A constant List of the values in this enum, in order of their declaration.