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

#include <nertc_engine_defines.h>

Public 属性

char task_id [kNERtcMaxTaskIDLength]
 
char stream_url [kNERtcMaxURILength]
 
bool server_record_enabled
 
NERtcLiveStreamLayoutMode layout_mode
 
uid_t main_picture_account_id
 
char layout_parameters [kNERtcMaxBuffLength]
 

详细描述

Configuration of streaming tasks.

类成员变量说明

◆ layout_mode

NERtcLiveStreamLayoutMode nertc::NERtcLiveStreamTaskOption::layout_mode

Co-hosting method. The default value is kNERtcLayoutFloatingRightVertical.

◆ layout_parameters

char nertc::NERtcLiveStreamTaskOption::layout_parameters[kNERtcMaxBuffLength]

Custom layout parameters in JSON format (optional). You need to set the layout parameters only when layout_mode is set to kNERtcLayoutCustom or kNERtcLayoutAudioOnly.

◆ main_picture_account_id

uid_t nertc::NERtcLiveStreamTaskOption::main_picture_account_id

Specify the main picture uid (optional).

◆ server_record_enabled

bool nertc::NERtcLiveStreamTaskOption::server_record_enabled

Enable or disable server recording. The default value is false.

◆ stream_url

char nertc::NERtcLiveStreamTaskOption::stream_url[kNERtcMaxURILength]

Live streaming URL address.

◆ task_id

char nertc::NERtcLiveStreamTaskOption::task_id[kNERtcMaxTaskIDLength]

Streaming task ID, which is the unique identifier of a streaming task. You can use the ID to create and delete streaming tasks.


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