MixedStreamVideoConfig class

视频转码配置参数(新)。值不合法或未设置时,自动使用默认值。

Properties

bitrate → int
合流视频码率。单位为 Kbps,取值范围为 1,10000,默认值为自适应模式。
final
enableBFrame → bool
是否在合流中开启 B 帧,仅服务端合流支持.
final
fps → int
合流视频帧率。单位为 FPS,取值范围为 1,60,默认值为 15 FPS。
final
gop → int
视频 I 帧时间间隔。单位为秒,取值范围为 1, 5,默认值为 2 秒。
final
hashCode → int
The hash code for this object.
read-onlyinherited
height → int
合流视频高度。单位为 px,范围为 2, 1920,必须是偶数。默认值为 360 px。 设置值为非偶数时,自动向上取偶数。
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
videoCodec → MixedStreamVideoCodecType
视频编码格式。默认值为 0。
final
width → int
合流视频宽度。单位为 px,范围为 2, 1920,必须是偶数。默认值为 640 px。
设置值为非偶数时,自动向上取偶数。
final

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