V2TXLiveTranscodingConfig class

云端混流(转码)配置

Constructors

V2TXLiveTranscodingConfig({int videoWidth = 360, int videoHeight = 640, int videoBitrate = 0, int videoFramerate = 15, int videoGOP = 2, int backgroundColor = 0x000000, int audioSampleRate = 48000, int audioBitrate = 64, int audioChannels = 1})

Properties

audioBitrate ↔ int
【字段含义】最终转码后的音频码率
getter/setter pair
audioChannels ↔ int
【字段含义】最终转码后的音频声道数
getter/setter pair
audioSampleRate ↔ int
【字段含义】最终转码后的音频采样率
getter/setter pair
backgroundColor ↔ int
【字段含义】混合后画面的底色颜色,默认为黑色,格式为十六进制数字,比如:“0x61B9F1” 代表 RGB 分别为(97,158,241)
getter/setter pair
backgroundImage ↔ String?
【字段含义】混合后画面的背景图
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
mixStreams ↔ List<V2TXLiveMixStream>
【字段含义】每一路子画面的位置信息
getter/setter pair
outputStreamId ↔ String?
【字段含义】输出到 CDN 上的直播流 ID
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
videoBitrate ↔ int
【字段含义】最终转码后的视频分辨率的码率(kbps)
getter/setter pair
videoFramerate ↔ int
【字段含义】最终转码后的视频分辨率的帧率(FPS)
getter/setter pair
videoGOP ↔ int
【字段含义】最终转码后的视频分辨率的关键帧间隔(又称为 GOP)
getter/setter pair
videoHeight ↔ int
【字段含义】最终转码后的视频分辨率的高度
getter/setter pair
videoWidth ↔ int
【字段含义】最终转码后的视频分辨率的宽度
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited