NERtc Windows SDK
V4.4.301
|
#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.
NERtcLiveStreamLayoutMode nertc::NERtcLiveStreamTaskOption::layout_mode |
Co-hosting method. The default value is kNERtcLayoutFloatingRightVertical.
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.
uid_t nertc::NERtcLiveStreamTaskOption::main_picture_account_id |
Specify the main picture uid (optional).
bool nertc::NERtcLiveStreamTaskOption::server_record_enabled |
Enable or disable server recording. The default value is false.
char nertc::NERtcLiveStreamTaskOption::stream_url[kNERtcMaxURILength] |
Live streaming URL address.
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.