uhh-lt / bbb-live-subtitles

BBB plugin for automatic subtitles in conference calls
Apache License 2.0
26 stars 8 forks source link

I test against BBB 2.5. The same error as above with socket_to_redis(): #7

Open jaywebmyne opened 2 years ago

jaywebmyne commented 2 years ago

I test against BBB 2.5. The same error as above with socket_to_redis():

2022-08-18 10:19:28 INFO {'Event': 'LOADER_START', 'Caller-Destination-Number': '91407', 'Caller-Orig-C│', 'callerName': 'Administrator', 'callState': 'CALL_STARTED'}}
aller-ID-Name': 'w_ipnfx4jao0us_2-bbbID-Administrator', 'Caller-Username': 'Administrator', 'Language':│2022-08-18 10:19:26 INFO {'header': {'name': 'VoiceCallStateEvtMsg', 'meetingId': '6a304786df17c7aa604f
 'German', 'Audio-Channel': '91407~w_ipnfx4jao0us_2-bbbID-Administrator~audio', 'Control-Channel': '914│f341293730427b213cc1-1660788778966', 'userId': '91407'}, 'body': {'meetingId': '6a304786df17c7aa604ff34
07~w_ipnfx4jao0us_2-bbbID-Administrator~control', 'Text-Channel': '91407~w_ipnfx4jao0us_2-bbbID-Adminis│1293730427b213cc1-1660788778966', 'voiceConf': '91407', 'clientSession': '2', 'userId': 'w_ipnfx4jao0us
trator~text'}                                                                                          │', 'callerName': 'Administrator', 'callState': 'CALL_STARTED'}}
2022-08-18 10:19:29 ERROR connection handler failed                                                    │2022-08-18 10:19:26 INFO {'header': {'name': 'VoiceCallStateEvtMsg', 'meetingId': '6a304786df17c7aa604f
Traceback (most recent call last):                                                                     │f341293730427b213cc1-1660788778966', 'userId': '91407'}, 'body': {'meetingId': '6a304786df17c7aa604ff34
  File "/home/ubuntu/projects/bbb-live-subtitles/bbbsub_env/lib/python3.8/site-packages/websockets/lega│1293730427b213cc1-1660788778966', 'voiceConf': '91407', 'clientSession': '2', 'userId': 'w_ipnfx4jao0us
cy/server.py", line 232, in handler                                                                    │', 'callerName': 'Administrator', 'callState': 'CALL_STARTED'}}
    await self.ws_handler(self)                                                                        │2022-08-18 10:19:27 INFO {'header': {'name': 'VoiceCallStateEvtMsg', 'meetingId': '6a304786df17c7aa604f
  File "/home/ubuntu/projects/bbb-live-subtitles/bbbsub_env/lib/python3.8/site-packages/websockets/lega│f341293730427b213cc1-1660788778966', 'userId': '91407'}, 'body': {'meetingId': '6a304786df17c7aa604ff34
cy/server.py", line 1146, in _ws_handler                                                               │1293730427b213cc1-1660788778966', 'voiceConf': '91407', 'clientSession': '2', 'userId': 'w_ipnfx4jao0us
    return await cast(                                                                                 │', 'callerName': 'Administrator', 'callState': 'IN_ECHO_TEST'}}
  File "ws_receiver.py", line 53, in socket_to_redis                                                   │2022-08-18 10:19:29 INFO {'header': {'name': 'VoiceCallStateEvtMsg', 'meetingId': '6a304786df17c7aa604f
    if wasTalking[voiceUserId] == 0:                                                                   │f341293730427b213cc1-1660788778966', 'userId': '91407'}, 'body': {'meetingId': '6a304786df17c7aa604ff34
KeyError: 'w_ipnfx4jao0us'                                                                             │1293730427b213cc1-1660788778966', 'voiceConf': '91407', 'clientSession': '2', 'userId': 'w_ipnfx4jao0us
2022-08-18 10:19:29 INFO connection closed 

I install all stuff of BBB and this plugin in the same server, so the server name of this plugin are alll localhost.

Originally posted by @fishfree in https://github.com/uhh-lt/bbb-live-subtitles/issues/4#issuecomment-1218927480