LoginSignup
0
0

More than 3 years have passed since last update.

BigbluebuttonでiOSデバイスのカメラが使用できない件

Posted at

BigbluebuttonでiOSからカメラの映像が共有できない(エラー1020が出る)という問題が上がっている。
当方iphone(iOS 13.7)でも不具合を確認している。

STUNサーバの設定が悪さをしているようなので、参考までに。
NATを使っていなくてもSTUNサーバを使う場面があるというのが混乱に拍車をかけているようだ。

STUNサーバが標準でstun.freeswitch.orgが設定されているが、これが動作していないようで、iOSはそこでカメラが共有できなくなってしまう。
googleのstunサーバstun.l.google.com:19302なら大丈夫のようだ。(使えるSTUNサーバなら何でもよい)

/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml
<!-- 一部抜粋 -->
<bean id="stun1" class="org.bigbluebutton.web.services.turn.StunServer">
   <!-- constructor-arg index="0" value="stun:stun.freeswitch.org"/ --> <!--修正前 -->
   <constructor-arg index="0" value="stun:stun.l.google.com:19302"/> <!--修正後 -->
</bean>

/etc/kurento/modules/kurento/WebRtcEndpoint.conf.iniにもSTUNサーバの設定項目も忘れずに。

/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini
stunServerAddress=172.217.212.127 
stunServerPort=19302
;こちらはIPアドレスで指定することに注意

【参考】
Default TURN Server not Working with Safari #10764
Error 1020 when connection BBB via iOS

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0