你好,你前面给的初始化需要按照文档修改:
this.realtime = new Realtime({
appId: HallData.getInstance().getInfo().im_config.AppID,
appKey: HallData.getInstance().getInfo().im_config.AppKey,
// 这里加一行,填写为你在后台绑定的 API 域名
server: 'https://please-replace-with-your-customized.domain.com',
ssl: false,
// 初始化即时通讯服务时需要指定富媒体消息插件
plugins: [TypedMessagesPlugin],
});