NERtc Windows SDK
V4.4.301
|
#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.
NERtcLiveConfig nertc::NERtcLiveStreamTaskInfo::config |
Settings such as encoding parameters of the audio and video streams. For more information, see NERtcLiveConfig.
char nertc::NERtcLiveStreamTaskInfo::extraInfo[kNERtcMacSEIBufferLength] |
SEI message
NERtcLiveStreamLayout nertc::NERtcLiveStreamTaskInfo::layout |
Set the canvas layout of Interactive Live Streaming. For more information, see NERtcLiveStreamLayout.
NERtcLiveStreamMode nertc::NERtcLiveStreamTaskInfo::ls_mode |
The live streaming mode. For more information, see NERtcLiveStreamMode.
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.
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.
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.