NERtc Windows SDK
Public Attributes | List of all members
nertc::NERtcLiveStreamTaskInfo Struct Reference

#include <nertc_engine_defines.h>

Public Attributes

char task_id [kNERtcMaxTaskIDLength]
 
char stream_url [kNERtcMaxURILength]
 
bool server_record_enabled
 
NERtcLiveStreamMode ls_mode
 
NERtcLiveStreamLayout layout
 
NERtcLiveConfig config
 
char extraInfo [kNERtcMacSEIBufferLength]
 

Detailed Description

直播推流任务的配置项。

Member Data Documentation

NERtcLiveConfig nertc::NERtcLiveStreamTaskInfo::config

音视频流编码参数等设置。详细信息请参考 NERtcLiveConfig。

char nertc::NERtcLiveStreamTaskInfo::extraInfo[kNERtcMacSEIBufferLength]

SEI信息

NERtcLiveStreamLayout nertc::NERtcLiveStreamTaskInfo::layout

设置互动直播的画面布局。详细信息请参考 NERtcLiveStreamLayout。

NERtcLiveStreamMode nertc::NERtcLiveStreamTaskInfo::ls_mode

直播推流模式。详细信息请参考 NERtcLiveStreamMode。

bool nertc::NERtcLiveStreamTaskInfo::server_record_enabled

旁路推流是否需要进行音视频录制。默认为关闭状态。

char nertc::NERtcLiveStreamTaskInfo::stream_url[kNERtcMaxURILength]

推流地址,例如 rtmp://test.url。

此处的推流地址可设置为网易云信直播产品中服务端 API创建房间的返回参数pushUrl。

char nertc::NERtcLiveStreamTaskInfo::task_id[kNERtcMaxTaskIDLength]

自定义的推流任务ID。字母、数字、下划线组成的 64 位以内的字符串。请保证此ID唯一。


The documentation for this struct was generated from the following file: