检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
onJoinRoomSuccess:加入房间成功时回调。 onJoinRoomFailure:加入房间失败时回调,失败原因请参见•加入房间失败时,如何解决?。 onRemoteUserOnline:加入房间成功后,通知房间内已加入用户的回调,不包括自己。 leaveRoom public
支持的浏览器详情请参见Web浏览器适配详情。 如果客户端用TypeScript开发,TypeScript的版本不低于3.8.3。 由于浏览器安全策略限制,仅支持通过https://域名的方式访问,或者直接在本地搭建服务器,通过localhost:端口访问,否则无法获取摄像头及麦克风的权限。 SDK集成 将获取
localStream.startAudioMixing({ // filePath 表示在线音频文件的下载路径 "filePath":"https://***.***.***.***:50007/music.mp3", // startTime 表示音频文件开始播放的时间点,默认值为0。
remoteAudioInfo:(NSArray<HWRtcAudioStatsInfo *> *)remoteAudioStatsInfos {https://support.huaweicloud.com/csdk-rtc/rtc_05_0167.html dispatch_as
remoteAudioInfo:(NSArray<HWRtcAudioStatsInfo *> *)remoteAudioStatsInfos {https://support.huaweicloud.com/csdk-rtc/rtc_05_0167.html dispatch_as
【请求参数】 server:必选,string类型,反向代理服务器的列表。一个代理服务器的格式,比如:http://ip:port / https://domain:port。 【返回参数】 无 setProxyServer和setTurnServer方法需在join之前调用。 setTurnServer