alangecker / bigbluebutton-docker

merged into https://github.com/bigbluebutton/docker
GNU Lesser General Public License v3.0
98 stars 33 forks source link

No video #43

Closed trickert76 closed 4 years ago

trickert76 commented 4 years ago

I followed your installation instruction on a new and empty Debian buster on a VM directly connected to the Internet.

First everything looks fine. I was able to log into Greenlight and start a conference with another person. Audio is working fine, also the presentation is visible on the other side and both can "scrible" on it.

But neither screen sharing nor Video is working. I can see myself in the browser, but nobody else can see themself nor me.

Using the "full installation" of bbb-install.sh on the same machine shows video too. So it must something within the docker environment or a missing port.

~/bbb-docker# ./scripts/compose ps
          Name                        Command                  State                        Ports                  
-------------------------------------------------------------------------------------------------------------------
bbb-docker_core_1          /entrypoint.sh                   Up                                                     
bbb-docker_coturn_1        docker-entrypoint.sh --ext ...   Up                                                     
bbb-docker_etherpad_1      /entrypoint.sh                   Up             9001/tcp                                
bbb-docker_freeswitch_1    /bin/sh -c /entrypoint.sh        Up                                                     
bbb-docker_html5_1         /entrypoint.sh                   Up                                                     
bbb-docker_https_proxy_1   /entrypoint.sh /usr/local/ ...   Up             0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp
bbb-docker_kurento_1       /entrypoint.sh                   Up (healthy)                                           
bbb-docker_mongodb_1       docker-entrypoint.sh mongod      Up             27017/tcp                               
bbb-docker_nginx_1         /docker-entrypoint.sh ngin ...   Up             0.0.0.0:8080->80/tcp                    
bbb-docker_periodic_1      /entrypoint.sh                   Up                                                     
bbb-docker_postgres_1      docker-entrypoint.sh postgres    Up             5432/tcp                                
bbb-docker_redis_1         docker-entrypoint.sh redis ...   Up             127.0.0.1:6379->6379/tcp                
bbb-docker_webrtc-sfu_1    ./docker-entrypoint.sh npm ...   Up             127.0.0.1:3008->3008/tcp                
greenlight                 bin/start                        Up             10.7.7.1:5000->80/tcp    

When I have a look at the bare metal installation, I can see:


Netid  Local Address:Port      
udp  <external-ipv4>:5060  users:(("freeswitch",pid=27594,fd=29))
udp  <external-ipv4>:5090  users:(("freeswitch",pid=27594,fd=48))
udp                *:1337  users:(("freeswitch",pid=27594,fd=60))
udp                *:68    users:(("dhclient",pid=931,fd=6))
udp  <external-ipv6>:5060  users:(("freeswitch",pid=27594,fd=36))
udp               :::5070  users:(("java",pid=27548,fd=264))
udp  <external-ipv6>:5090  users:(("freeswitch",pid=27594,fd=43))
tcp                *:80    users:(("nginx",pid=27797,fd=7),("nginx",pid=27796,fd=7),("nginx",pid=27787,fd=7))
tcp  <external-ipv4>:8081  users:(("freeswitch",pid=27594,fd=58))
tcp  <external-ipv4>:8082  users:(("freeswitch",pid=27594,fd=59))
tcp  <external-ipv4>:7443  users:(("freeswitch",pid=27594,fd=32))
tcp                *:22    users:(("sshd",pid=15296,fd=3))
tcp        127.0.0.1:5432  users:(("docker-proxy",pid=1572,fd=4))
tcp                *:3000  users:(("node",pid=28125,fd=16))
tcp                *:443   users:(("nginx",pid=27797,fd=9),("nginx",pid=27796,fd=9),("nginx",pid=27787,fd=9))
tcp        127.0.0.1:3008  users:(("node",pid=7778,fd=15))
tcp        127.0.0.1:3010  users:(("node",pid=7801,fd=13))
tcp  <external-ipv4>:5090  users:(("freeswitch",pid=27594,fd=49))
tcp        127.0.0.1:8100  users:(("soffice.bin",pid=29040,fd=13))
tcp  <external-ipv4>:5060  users:(("freeswitch",pid=27594,fd=30))
tcp        127.0.0.1:8101  users:(("soffice.bin",pid=29113,fd=13))
tcp        127.0.0.1:8102  users:(("soffice.bin",pid=29181,fd=13))
tcp        127.0.0.1:8103  users:(("soffice.bin",pid=29259,fd=13))
tcp        127.0.0.1:5000  users:(("docker-proxy",pid=1701,fd=4))
tcp        127.0.0.1:8104  users:(("soffice.bin",pid=29335,fd=13))
tcp        127.0.0.1:9001  users:(("node",pid=27556,fd=12))
tcp        127.0.1.1:27017 users:(("mongod",pid=27677,fd=8))
tcp  <external-ipv4>:5066  users:(("freeswitch",pid=27594,fd=31))
tcp        127.0.0.1:6379  users:(("redis-server",pid=27739,fd=4))
tcp               :::5070  users:(("java",pid=27548,fd=265))
tcp               :::9999  users:(("java",pid=27548,fd=127))
tcp               :::1935  users:(("java",pid=27548,fd=111))
tcp               :::8080  users:(("java",pid=27809,fd=53))
tcp               :::80    users:(("nginx",pid=27797,fd=8),("nginx",pid=27796,fd=8),("nginx",pid=27787,fd=8))
tcp  <external-ipv6>:8081  users:(("freeswitch",pid=27594,fd=55))
tcp  <external-ipv6>:8082  users:(("freeswitch",pid=27594,fd=56))
tcp  <external-ipv6>:7443  users:(("freeswitch",pid=27594,fd=39))
tcp               :::8021  users:(("freeswitch",pid=27594,fd=65))
tcp               :::22    users:(("sshd",pid=15296,fd=4))
tcp               :::8888  users:(("kurento-media-s",pid=7777,fd=9))
tcp               :::5080  users:(("java",pid=27548,fd=114))
tcp                 ::ffff:127.0.0.1:8090  users:(("java",pid=27577,fd=401))
tcp               :::443   users:(("nginx",pid=27797,fd=10),("nginx",pid=27796,fd=10),("nginx",pid=27787,fd=10))
tcp  <external-ipv6>:5090  users:(("freeswitch",pid=27594,fd=44))
tcp                 ::ffff:127.0.0.1:8900  users:(("java",pid=27686,fd=93))
tcp  <external-ipv6>:5060  users:(("freeswitch",pid=27594,fd=37))
tcp                 ::ffff:127.0.0.1:8005  users:(("java",pid=27809,fd=55))
tcp  <external-ipv6>:5066  users:(("freeswitch",pid=27594,fd=38))

So, there are ports open for freeswitch. I don't know enough about freeswitch and if it is necessary to transfer the video. Maybe it's because of COTURN (I've enabled it, but there is no open port for it) - i'm absolutly not sure what is the reason and I'm not sure, if the log will help you:

webrtc-sfu_1  | 2020-07-29T12:21:06.872Z - info: [mcs-controller] User morning-field-BX5RK~L joined room 15984 as SFU
webrtc-sfu_1  | 2020-07-29T12:21:06.874Z - info: [mcs-controller] Publish from user morning-field-BX5RK~L in room 15984
webrtc-sfu_1  | 2020-07-29T12:21:06.877Z - info: [mcs-sdp-session] New session created {"type":"WebRtcEndpoint","memberType":"mediaSession","mediaSessionId":"dawn-haze-5oBkRDL","mediaId":"dawn-haze-5oBkRDL","medias":[],"roomId":"15984","userId":"morning-field-BX5RK~L","name":"bigbluebutton|publish|video|w_2s1izzsom1a3|15984","mediaTypes":{"video":false,"audio":false,"text":false,"content":false,"application":false,"message":false},"isMuted":false,"volume":50,"strategy":"freewill"}
webrtc-sfu_1  | 2020-07-29T12:21:06.878Z - info: [mcs-sfu-user] Added new SDP session dawn-haze-5oBkRDL to user morning-field-BX5RK~L
webrtc-sfu_1  | 2020-07-29T12:21:06.880Z - info: [mcs-sdp-media] New media created {"type":"WebRtcEndpoint","memberType":"media","mediaSessionId":"dawn-haze-5oBkRDL","mediaId":"lively-sea-NcBCG9V","roomId":"15984","userId":"morning-field-BX5RK~L","name":"bigbluebutton|publish|video|w_2s1izzsom1a3|15984","muted":false,"volume":50,"talking":false,"mediaTypes":{"video":"sendonly","audio":false,"text":false,"content":false,"application":false,"message":false},"subscribedTo":"","strategy":"freewill","adapterElementId":null}
webrtc-sfu_1  | 2020-07-29T12:21:06.880Z - info: [mcs-balancer] Getting host for mediaType: main
webrtc-sfu_1  | 2020-07-29T12:21:06.880Z - info: [mcs-balancer] Chosen host is {"id":"muddy-shape-4OZH35M","url":"ws://kurento:8888/kurento","ip":"aaa.bbb.ccc.ddd","mediaType":"all","medias":{"main":2,"content":0,"audio":0}}
kurento_1     | 0:43:03.718267058     1 0x7f992c001b30 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:104:remove_not_supported_codecs_from_array:<kmswebrtcendpoint10> Removing not supported codec 'AMR/8000'
kurento_1     | 0:43:03.718513902     1 0x7f992c001b30 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:516:WebRtcEndpointImpl: Predefined external IP address: aaa.bbb.ccc.ddd
kurento_1     | 0:43:03.718704653     1 0x7f992c001b30 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:551:WebRtcEndpointImpl: Using STUN reflexive server: aaa.bbb.ccc.ddd:3478
kurento_1     | 0:43:03.718738778     1 0x7f992c001b30 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:571:WebRtcEndpointImpl: TURN server not found in config; remember that NAT traversal requires STUN or TURN
webrtc-sfu_1  | 2020-07-29T12:21:06.886Z - info: [mcs-media] Tracking media UNIT events mediaId=lively-sea-NcBCG9V, mediaSessionId=dawn-haze-5oBkRDL, roomId=15984, adapterElementId=411e3bad-549a-44a9-99f6-cfb803200008_kurento.MediaPipeline/31809b8f-4a59-4636-92cd-c6206952f0d0_kurento.WebRtcEndpoint
kurento_1     | 0:43:03.729985118     1 0x7f99100016d0 FIXME               basesink gstbasesink.c:3125:gst_base_sink_default_event:<nicesink10> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
kurento_1     | 0:43:03.731296013     1 0x7f993c016e30 INFO         basertpendpoint kmsbasertpendpoint.c:1118:kms_base_rtp_endpoint_start_transport_send:<kmswebrtcendpoint10> Media 'video' has REMB
kurento_1     | 0:43:03.731349634     1 0x7f993c016e30 INFO         basertpendpoint kmsbasertpendpoint.c:1064:kms_base_rtp_endpoint_create_remb_manager:<kmswebrtcendpoint10> Creating REMB for session ID 0 (kmswebrtcendpoint10-sess0) and remote video SSRC 3859184274
kurento_1     | 0:43:03.731363948     1 0x7f993c016e30 INFO         basertpendpoint kmsbasertpendpoint.c:1075:kms_base_rtp_endpoint_create_remb_manager:<kmswebrtcendpoint10> REMB: Set RTCP min interval to 500 ms
kurento_1     | 0:43:03.732930434     1 0x7f9904007ca0 FIXME                default gstutils.c:3766:gst_pad_create_stream_id_internal:<nicesrc10:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
webrtc-sfu_1  | 2020-07-29T12:21:06.900Z - info: [mcs-balancer] Host muddy-shape-4OZH35M main streams incremented {"main":3,"content":0,"audio":0}
webrtc-sfu_1  | 2020-07-29T12:21:06.902Z - info: [video] Set new source media at w_2s1izzsom1a3 cameraId=w_2s1izzsom1a3, mediaId=dawn-haze-5oBkRDL
webrtc-sfu_1  | 2020-07-29T12:21:06.903Z - info: [video] Video start succeeded userId=w_2s1izzsom1a3, roomId=15984, internalMeetingId=683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632, streamName=10w_2s1izzsom1a3-share, mediaId=dawn-haze-5oBkRDL, status=MEDIA_NEGOTIATED, role=share, cameraId=w_2s1izzsom1a3, connectionId=10, sessionId=10-w_2s1izzsom1a3-share
webrtc-sfu_1  | 2020-07-29T12:21:06.903Z - info: [VideoManager] Video session started sfuMessageId=start, connectionId=10, sessionId=10-w_2s1izzsom1a3-share, internalMeetingId=683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632, roomId=15984, userId=w_2s1izzsom1a3, role=share
html5_1       | info: {"logCode":"video_provider_start_response_success","logDescription":"Camera start request was accepted by SFU, processing response for w_2s1izzsom1a3","connectionId":"epbRKtQnDz2H8jxmi","extraInfo":{"sfuResponse":{"connectionId":10,"type":"video","role":"share","id":"startResponse","cameraId":"w_2s1izzsom1a3","sdpAnswer":"v=0\r\no=- 3805014066 3805014066 IN IP4 0.0.0.0\r\ns=Kurento Media Server\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\na=sendrecv\r\na=fingerprint:sha-256 2A:0A:12:75:94:5D:C3:BE:26:A5:B4:21:D2:1E:55:F1:22:B5:29:E0:11:58:C6:FA:46:D8:7F:74:75:65:14:A3\r\na=ice-options:trickle\r\na=msid-semantic: WMS *\r\na=group:BUNDLE 0\r\nm=video 1 UDP/TLS/RTP/SAVPF 120\r\nb=TIAS:200000\r\nb=AS:200\r\na=rtpmap:120 VP8/90000\r\na=fmtp:120 max-fs=12288;max-fr=60\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtcp-fb:120 nack\r\na=rtcp-fb:120 nack pli\r\na=rtcp-fb:120 ccm fir\r\na=rtcp-fb:120 goog-remb\r\na=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=setup:active\r\na=mid:0\r\na=recvonly\r\na=ice-ufrag:Educ\r\na=ice-pwd:WIT0EnTq8HiXRUP97TXG8X\r\na=fingerprint:sha-256 8E:D7:DE:DD:62:49:E0:66:58:9C:C7:69:AC:0C:05:77:A6:CB:AC:2A:DC:21:03:FE:60:DE:0F:11:06:5D:F0:3C\r\na=ssrc:4016346656 cname:user4093408363@host-867959ff\r\na=rtcp-mux\r\na=content:main\r\n"},"cameraId":"w_2s1izzsom1a3","clientURL":"https://ac-hcn0003.domain.net/html5client/join?sessionToken=lsf1qrtmvat4tj6h","validUser":"valid"},"userInfo":{"sessionToken":"lsf1qrtmvat4tj6h","meetingId":"683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632","requesterUserId":"w_2s1izzsom1a3","fullname":"Thoralf","confname":"Home Room","externUserID":"gl-guest-3f1af557c0187d0e60e5a8ce","uniqueClientSession":"lsf1qrtmvat4tj6h-tm2z7h"}}
webrtc-sfu_1  | 2020-07-29T12:21:09.048Z - info: [video] Video ICE gathering done userId=w_2s1izzsom1a3, roomId=15984, internalMeetingId=683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632, streamName=10w_2s1izzsom1a3-share, mediaId=dawn-haze-5oBkRDL, status=MEDIA_NEGOTIATED, role=share, cameraId=w_2s1izzsom1a3, connectionId=10, sessionId=10-w_2s1izzsom1a3-share, elementId=411e3bad-549a-44a9-99f6-cfb803200008_kurento.MediaPipeline/31809b8f-4a59-4636-92cd-c6206952f0d0_kurento.WebRtcEndpoint
kurento_1     | 0:43:12.130922361     1 0x7f9918003a30 INFO    KurentoServerMethods ServerMethods.cpp:814:ping: WebSocket Ping/Pong with sessionId 82db4d6c-c34a-4aee-9eef-3f71bd7caea9
core_1        | bbb-fsesl-akka | 2020-07-29T12:21:19.772Z INFO  o.b.f.v.f.FreeswitchApplication - Queue message: conference 15984 xml_list
core_1        | bbb-fsesl-akka | 2020-07-29T12:21:19.774Z INFO  o.b.f.v.f.FreeswitchApplication - Sending message: conference 15984 xml_list
core_1        | bbb-fsesl-akka | 2020-07-29T12:21:19.776Z DEBUG o.b.freeswitch.RxJsonMsgHdlrActor - handling to-voice-conf-redis-channel - {"envelope":{"name":"GetUsersStatusToVoiceConfSysMsg","routing":{"sender":"bbb-apps-akka"},"timestamp":1596025279761},"core":{"header":{"name":"GetUsersStatusToVoiceConfSysMsg","meetingId":"683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632"},"body":{"voiceConf":"15984","meetingId":"683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632"}}}
core_1        | bbb-fsesl-akka | 2020-07-29T12:21:19.779Z INFO  o.b.f.v.f.a.GetUsersStatusCommand - Conf user. uuid=2ae14c86-c3d0-4485-a241-1a6a9190aa66,caller=Administrator,clientSession=2,callerId=w_dlmx9fpktfni_2-bbbID-Administrator,conf=15984,muted=false,talking=false
core_1        | bbb-fsesl-akka | 2020-07-29T12:21:21.775Z DEBUG o.b.freeswitch.RxJsonMsgHdlrActor - handling to-voice-conf-redis-channel - {"envelope":{"name":"CheckRunningAndRecordingToVoiceConfSysMsg","routing":{"sender":"bbb-apps-akka"},"timestamp":1596025281770},"core":{"header":{"name":"CheckRunningAndRecordingToVoiceConfSysMsg","meetingId":"683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632"},"body":{"voiceConf":"15984","meetingId":"683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632"}}}
core_1        | bbb-fsesl-akka | 2020-07-29T12:21:21.781Z INFO  o.b.f.v.f.FreeswitchApplication - Queue message: conference 15984 xml_list
core_1        | bbb-fsesl-akka | 2020-07-29T12:21:21.783Z INFO  o.b.f.v.f.FreeswitchApplication - Sending message: conference 15984 xml_list
core_1        | bbb-fsesl-akka | 2020-07-29T12:21:21.789Z WARN  o.b.f.v.FreeswitchConferenceEventListener - Voice conf running but not recording. conf=15984,running=true,rec=false
webrtc-sfu_1  | 2020-07-29T12:21:21.850Z - info: [video] Stopping video session 10w_2s1izzsom1a3-share userId=w_2s1izzsom1a3, roomId=15984, internalMeetingId=683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632, streamName=10w_2s1izzsom1a3-share, mediaId=dawn-haze-5oBkRDL, status=MEDIA_NEGOTIATED, role=share, cameraId=w_2s1izzsom1a3, connectionId=10, sessionId=10-w_2s1izzsom1a3-share
webrtc-sfu_1  | 2020-07-29T12:21:21.854Z - info: [mcs-controller] Unpublishing media dawn-haze-5oBkRDL of user morning-field-BX5RK~L
webrtc-sfu_1  | 2020-07-29T12:21:21.855Z - info: [mcs-user] Stopping media session dawn-haze-5oBkRDL
html5_1       | error: {"logCode":"video_provider_camera_share_timeout","logDescription":"Camera SHARER has not succeeded in 15000 for w_2s1izzsom1a3","connectionId":"epbRKtQnDz2H8jxmi","extraInfo":{"cameraId":"w_2s1izzsom1a3","clientURL":"https://ac-hcn0003.domain.net/html5client/join?sessionToken=lsf1qrtmvat4tj6h","validUser":"valid"},"userInfo":{"sessionToken":"lsf1qrtmvat4tj6h","meetingId":"683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632","requesterUserId":"w_2s1izzsom1a3","fullname":"Thoralf","confname":"Home Room","externUserID":"gl-guest-3f1af557c0187d0e60e5a8ce","uniqueClientSession":"lsf1qrtmvat4tj6h-tm2z7h"}}
webrtc-sfu_1  | 2020-07-29T12:21:21.860Z - info: [mcs-balancer] Host muddy-shape-4OZH35M main streams decremented {"main":2,"content":0,"audio":0}
webrtc-sfu_1  | 2020-07-29T12:21:21.860Z - info: [mcs-media] Session lively-sea-NcBCG9V stopped with status STOPPED
webrtc-sfu_1  | 2020-07-29T12:21:21.860Z - info: [mcs-kurento-adapter] Releasing endpoint 411e3bad-549a-44a9-99f6-cfb803200008_kurento.MediaPipeline/31809b8f-4a59-4636-92cd-c6206952f0d0_kurento.WebRtcEndpoint from room 15984
webrtc-sfu_1  | 2020-07-29T12:21:21.861Z - info: [mcs-user] User's media session stopped due to an internal trigger. userId=morning-field-BX5RK~L, mediaSessionId=dawn-haze-5oBkRDL
webrtc-sfu_1  | 2020-07-29T12:21:21.863Z - info: [video] Remove source media from w_2s1izzsom1a3 cameraId=w_2s1izzsom1a3
webrtc-sfu_1  | 2020-07-29T12:21:21.863Z - info: [video] Stopped video session 10w_2s1izzsom1a3-share userId=w_2s1izzsom1a3, roomId=15984, internalMeetingId=683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632, streamName=10w_2s1izzsom1a3-share, mediaId=dawn-haze-5oBkRDL, status=MEDIA_STOPPED, role=share, cameraId=w_2s1izzsom1a3, connectionId=10, sessionId=10-w_2s1izzsom1a3-share
webrtc-sfu_1  | 2020-07-29T12:21:21.864Z - info: [VideoManager] Video session destroyed sfuMessageId=stop, connectionId=10, sessionId=10-w_2s1izzsom1a3-share, internalMeetingId=undefined, roomId=undefined, userId=undefined, role=share
html5_1       | info: {"logCode":"video_provider_unsharewebcam","logDescription":"Sending unshare webcam notification to meteor","connectionId":"epbRKtQnDz2H8jxmi","extraInfo":{"clientURL":"https://ac-hcn0003.domain.net/html5client/join?sessionToken=lsf1qrtmvat4tj6h","validUser":"valid"},"userInfo":{"sessionToken":"lsf1qrtmvat4tj6h","meetingId":"683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632","requesterUserId":"w_2s1izzsom1a3","fullname":"Thoralf","confname":"Home Room","externUserID":"gl-guest-3f1af557c0187d0e60e5a8ce","uniqueClientSession":"lsf1qrtmvat4tj6h-tm2z7h"}}
html5_1       | info: user unsharing webcam: 683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632 w_2s1izzsom1a3
core_1        | bbb-apps-akka  | 2020-07-29T12:21:21.879Z INFO  o.b.core2.AnalyticsActor - -- analytics -- {"envelope":{"name":"UserBroadcastCamStopMsg","routing":{"meetingId":"683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632","userId":"w_2s1izzsom1a3"},"timestamp":1596025281876},"core":{"header":{"name":"UserBroadcastCamStopMsg","meetingId":"683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632","userId":"w_2s1izzsom1a3"},"body":{"stream":"w_2s1izzsom1a3"}}}
webrtc-sfu_1  | 2020-07-29T12:21:21.877Z - info: [mcs-kurento-adapter] Pipeline has a total of 2 active elements
html5_1       | info: {"logCode":"video_provider_stopping_webcam_sfu","logDescription":"Sending stop request to SFU. Camera: w_2s1izzsom1a3, role share and flag restarting false","connectionId":"epbRKtQnDz2H8jxmi","extraInfo":{"clientURL":"https://ac-hcn0003.domain.net/html5client/join?sessionToken=lsf1qrtmvat4tj6h","validUser":"valid"},"userInfo":{"sessionToken":"lsf1qrtmvat4tj6h","meetingId":"683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632","requesterUserId":"w_2s1izzsom1a3","fullname":"Thoralf","confname":"Home Room","externUserID":"gl-guest-3f1af557c0187d0e60e5a8ce","uniqueClientSession":"lsf1qrtmvat4tj6h-tm2z7h"}}
html5_1       | info: {"logCode":"video_provider_destroywebrtcpeer","logDescription":"Disposing WebRTC peer w_2s1izzsom1a3","connectionId":"epbRKtQnDz2H8jxmi","extraInfo":{"clientURL":"https://ac-hcn0003.domain.net/html5client/join?sessionToken=lsf1qrtmvat4tj6h","validUser":"valid"},"userInfo":{"sessionToken":"lsf1qrtmvat4tj6h","meetingId":"683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632","requesterUserId":"w_2s1izzsom1a3","fullname":"Thoralf","confname":"Home Room","externUserID":"gl-guest-3f1af557c0187d0e60e5a8ce","uniqueClientSession":"lsf1qrtmvat4tj6h-tm2z7h"}}
html5_1       | warn: {"logCode":"videolistitem_component_play_maybe_error","logDescription":"Could not play video tag due to AbortError","connectionId":"epbRKtQnDz2H8jxmi","extraInfo":{"error":{},"clientURL":"https://ac-hcn0003.domain.net/html5client/join?sessionToken=lsf1qrtmvat4tj6h","validUser":"valid"},"userInfo":{"sessionToken":"lsf1qrtmvat4tj6h","meetingId":"683aabace39823d14cdac6e193b8dcfc60b55bcd-1596025069632","requesterUserId":"w_2s1izzsom1a3","fullname":"Thoralf","confname":"Home Room","externUserID":"gl-guest-3f1af557c0187d0e60e5a8ce","uniqueClientSession":"lsf1qrtmvat4tj6h-tm2z7h"}}

The env settings:

# HTTPS Proxy
# fully automated Lets Encrypt certificates
ENABLE_HTTPS_PROXY=true

# coturn (a TURN Server)
# requires HTTPS Proxy to be enabled
ENABLE_COTURN=true

# Greenlight Frontend
# https://docs.bigbluebutton.org/greenlight/gl-overview.html
ENABLE_GREENLIGHT=true

# Enable Webhooks
# used by some integrations
#ENABLE_WEBHOOKS=true
....
trickert76 commented 4 years ago

When I deny the locale TURN server during setup, it uses stun.freeswitch.org as STUN Server and then it works. The coturn docker-compose doesn't contain any exposed port but uses network_mode: host, so the above output of docker-compose ps is not complete. I'll now switch back to a coturn-enabled docker - let's see. what happens.

trickert76 commented 4 years ago

Hmm, that's strange - I was expecting that now it doesn't work again, but it works.

There is TURN_SECRET but I cannot find a place where the coturn server is using it. I don't understand that behaviour.

alangecker commented 4 years ago

So, there are ports open for freeswitch. I don't know enough about freeswitch and if it is necessary to transfer the video.

kurento - not freeswitch - is responsible for video & screenshare ;)

Hmm, that's strange - I was expecting that now it doesn't work again, but it works.

hmm, that is wired. Is it now really in the same state as in the beginning?

maybe the STUN_IP or TURN_SERVER was set wrongly somehow?

There is TURN_SECRET but I cannot find a place where the coturn server is using it. I don't understand that behaviour.

here it is used to provided the static-auth-secret

https://github.com/alangecker/bigbluebutton-docker/blob/bdc0f6f6402767537ceda6bec1c1f21444916256/docker-compose.coturn.yml

version: '3.6'
services:
  coturn:
    image: instrumentisto/coturn:4.5
    restart: unless-stopped
    command:
      - "--external-ip=${EXTERNAL_IPv4}/${EXTERNAL_IPv4}"
      - "--external-ip=${EXTERNAL_IPv6:-::1}/${EXTERNAL_IPv6:-::1}"
      - "--static-auth-secret=${TURN_SECRET}"
    [...]
trickert76 commented 4 years ago

Ah, ok. I've searched in mod/coturn/turnserver.conf

I've removed .env and postgres folder, cleared docker etc. and restarted the setup, so I think, the setting was completly reseted between the trials.

I'l now completly reinstall the system to be absolutly sure. But I think, for now, I can close this issue.