我正在使用 openfire,我想在我的应用程序中添加语音和视频通话功能。首先我已经安装了meet.jar和offocus.jar两个插件。
然后我安装了让我们在 openfire 中加密通配符证书。前任:
/snap/bin/certbot certonly --dns-route53 -d example.com,*.example.com
通过管理仪表板面板在 openfire 中安装了那些生成的证书。
创建了一个子域 openfire.example.com 以指向 VPS IP 地址。但是我的 FQDN 是 example.com。
在 android 中添加代码以开始会议
try {
JitsiMeetConferenceOptions.Builder options = new JitsiMeetConferenceOptions.Builder()
.setServerURL(new URL(“https://openfire.example.com”))
.setRoom(“testroom”)
.setWelcomePageEnabled(false);
JitsiMeetActivity.launch(OutGoingMeetingInvitation.this, options.build());
finish();
} catch (Exception ex) {
ex.printStackTrace();
}
在断开连接并在几秒钟内重新连接的 android 手机中出现错误。在 android studio 我收到错误
E/JitsiMeetSDK: [features/base/lib-jitsi-meet] Failed to load config from https://call.example.com/config.js?room=call_1606192562839 Error(AbortError){“message”:“Aborted”,“stack”:“Error: Aborted\n at anonymous (index.android.bundle:135:6514)\n at anonymous (index.android.bundle:135:7422)\n at call (native)\n at dispatchEvent (index.android.bundle:126:5676)\n at value (index.android.bundle:121:5993)\n at value (index.android.bundle:121:5621)\n at l (index.android.bundle:135:6840)\n at call (native)\n at dispatchEvent (index.android.bundle:144:5676)\n at value (index.android.bundle:143:1114)\n at anonymous (index.android.bundle:876:490)\n at anonymous (index.android.bundle:399:500)\n at apply (native)\n at value (index.android.bundle:50:1280)\n at apply (native)\n at value (index.android.bundle:37:3685)\n at anonymous (index.android.bundle:37:841)\n at value (index.android.bundle:37:2939)\n at value (index.android.bundle:37:813)”}
I/JitsiMeetSDK: [features/overlay] The conference will be reloaded after 11 seconds.
请帮我解决这个问题。