|
NERTC macOS/Windows SDK V5.9.10
|
#include <nertc_engine_defines.h>
Public 属性 | |
| NERtcChannelMediaRelayInfo * | src_infos |
| NERtcChannelMediaRelayInfo * | dest_infos |
| int | dest_count |
跨房间媒体流转发相关参数配置。
| int nertc::NERtcChannelMediaRelayConfiguration::dest_count |
目标房间数量。默认为 0。
| NERtcChannelMediaRelayInfo* nertc::NERtcChannelMediaRelayConfiguration::dest_infos |
目标房间信息,包括:
channelName:目标房间的房间名。channel_token:可以加入目标房间的 Token。uid:标识目标房间中的转发媒体流的 UID。请确保不要将该参数设为目标房间的主播的 UID,并与目标房间中的 所有 UID 都不同。 | NERtcChannelMediaRelayInfo* nertc::NERtcChannelMediaRelayConfiguration::src_infos |
源房间信息,包括:
channel_name:源房间名。默认值为 nil,表示 SDK 填充当前的房间名。channel_token:能加入源房间的 Token。uid:标识源房间中的转发媒体流的 UID。