NERoomLiveStreamTaskInfo class
直播推流任务的配置
Constructors
- NERoomLiveStreamTaskInfo({required String taskId, required String streamUrl, bool serverRecordEnabled = false, required NERoomLiveStreamLayout layout, String? extraInfo, NERoomLiveConfig? config, NERoomLiveStreamMode mode = NERoomLiveStreamMode.kVideo})
Properties
- config → NERoomLiveConfig?
-
音视频流编码参数等设置
final
- extraInfo → String?
-
预留参数
用户自定义的发送到旁路推流客户端的信息,用于填充 H264/H265 视频中 SEI 帧内容。长度限制:4096 字节。
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- layout → NERoomLiveStreamLayout
-
设置互动直播的画面布局
final
- mode → NERoomLiveStreamMode
-
直播推流模式
默认为 kVideo。详细信息请参考 NERoomLiveStreamMode。
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverRecordEnabled → bool
-
旁路推流是否需要进行音视频录制
默认为关闭状态。
final
- streamUrl → String
-
推流地址
例如 rtmp://test.url。
此处的推流地址可设置为网易云信直播产品中服务端 API创建房间的返回参数pushUrl。
final
- taskId → String
-
自定义的推流任务ID
字母、数字、下划线组成的 64 位以内的字符串。请保证此ID唯一。
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