LiveTranscodingVideoConfig class
转推视频配置。
Properties
- bFrame ↔ bool
-
是否使用B帧。
getter/setter pair
- codec ↔ TranscodingVideoCodec
-
视频编码格式,默认值为
h264
。本参数不支持过程中更新。getter/setter pair - fps ↔ int
-
合流视频帧率。单位为 FPS,取值范围为
[1,60]
, 默认值为 15 FPS。getter/setter pair - gop ↔ int
-
视频 I 帧时间间隔。单位为秒,取值范围为
[1, 5]
,默认值为 2 秒。getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ int
-
合流视频高度。单位为 px,范围为
[2, 1920]
,必须是偶数。默认值为 360 px。设置值为非偶数时,自动向上取偶数。getter/setter pair - kBitrate ↔ int
-
合流视频码率。单位为 Kbps,取值范围为
[1,10000]
,默认值为自适应模式。getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width ↔ int
-
合流视频宽度。单位为 px,范围为
[2, 1920]
,必须是偶数。默认值为 640 px。设置值为非偶数时,自动向上取偶数。getter/setter pair
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