0

我遵循了 Jitsi 的默认安装指南,使用 Chrome 浏览器可以正常工作。但是,如果我使用 Firefox,视频和音频都会传输到另一端,并且它们都会看到黑屏。但是,对于 meet.jit.si 它工作正常。是否有我在安装中遗漏的配置?

Firefox 中唯一的错误是:

[JitsiMeetJS.js] <getGlobalOnErrorHandler>:  UnhandledError: null Script: null Line: null Column: null StackTrace:  DOMException: AudioContext.createMediaStreamSource: Connecting AudioNodes from AudioContexts with different sample-rate is currently not supported. Logger.js:154:22
Uncaught (in promise) DOMException: AudioContext.createMediaStreamSource: Connecting AudioNodes from AudioContexts with different sample-rate is currently not supported. lib-jitsi-meet.min.js:1
4

1 回答 1

2

我的问题是 JVB 服务无法启动。诊断:

  • Chrome 上只能进行两方聊天
  • 即使在 Chrome 上也无法进行多方聊天
  • 在 Firefox 上,即使是两方也无法使用

在 JVB 的日志中(/var/log/jitsi/jvb.log):

2020-11-17 17:01:55.470 SEVERE: [18] Health.doRun#300: Health check failed in 0ms:
java.lang.Exception: Failed to bind single-port
        at org.jitsi.videobridge.health.Health.doCheck(Health.java:143)
        at org.jitsi.videobridge.health.Health.doRun(Health.java:266)
        at org.jitsi.utils.concurrent.PeriodicRunnableWithObject.run(PeriodicRunnableWithObject.java:87)
        at org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
        at org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
        at org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
        at org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)

该问题可以通过以下任一解决方案解决

  1. 使用端口 10000 停止服务(在我的例子中是 Webmin)

  2. 通过编辑 /etc/jitsi/videobridge/sip-communicator.properties 中的以下行来更改 JVB 的端口

    org.jitsi.videobridge.SINGLE_PORT_HARVESTER_PORT=10000

于 2020-12-04T10:04:10.900 回答