NERtc Windows SDK  V4.4.301
Public 属性 | 所有成员列表
nertc::NERtcLiveStreamTaskInfo结构体 参考

#include <nertc_engine_defines.h>

Public 属性

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

详细描述

Configuration of streaming tasks.

类成员变量说明

◆ config

NERtcLiveConfig nertc::NERtcLiveStreamTaskInfo::config

Settings such as encoding parameters of the audio and video streams. For more information, see NERtcLiveConfig.

◆ extraInfo

char nertc::NERtcLiveStreamTaskInfo::extraInfo[kNERtcMacSEIBufferLength]

SEI message

◆ layout

NERtcLiveStreamLayout nertc::NERtcLiveStreamTaskInfo::layout

Set the canvas layout of Interactive Live Streaming. For more information, see NERtcLiveStreamLayout.

◆ ls_mode

NERtcLiveStreamMode nertc::NERtcLiveStreamTaskInfo::ls_mode

The live streaming mode. For more information, see NERtcLiveStreamMode.

◆ server_record_enabled

bool nertc::NERtcLiveStreamTaskInfo::server_record_enabled

Specifies whether to enable audio and video recording in the CDN relayed streaming. By default, the setting is disabled.

◆ stream_url

char nertc::NERtcLiveStreamTaskInfo::stream_url[kNERtcMaxURILength]

The streaming URL, such as rtmp://test.url.

The URL can be set to the value of the pushUrl response parameter of the server API used to create a room in NetEase Yunxin live streaming.

◆ task_id

char nertc::NERtcLiveStreamTaskInfo::task_id[kNERtcMaxTaskIDLength]

The ID of a custom streaming task. The ID must be up to 64 characters in length and can contain letters, numbers, and underscores. The ID must be unique.


该结构体的文档由以下文件生成: