Describe the bug
Hello,
bbb-livestreaming beta 9 crashes when BBB is configured with mediasoup.
This error does not appears with Kurento only
The error is as follows:
liveStreaming28 | INFO:root:Waiting for chat input window to appear.
liveStreaming28 | Traceback (most recent call last):
liveStreaming28 | File "stream.py", line 162, in bbb_browser
liveStreaming28 | browser.execute_script("document.querySelector('[aria-label="User list"]').parentElement.style.display='none';")
liveStreaming28 | File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 636, in execute_script
liveStreaming28 | 'args': converted_args})['value']
liveStreaming28 | File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
liveStreaming28 | self.error_handler.check_response(response)
liveStreaming28 | File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
liveStreaming28 | raise exception_class(message, screen, stacktrace)
liveStreaming28 | selenium.common.exceptions.JavascriptException: Message: javascript error: Cannot read properties of null (reading 'parentElement')
liveStreaming28 | (Session info: chrome=96.0.4664.110)
liveStreaming28 |
liveStreaming28 |
liveStreaming28 | During handling of the above exception, another exception occurred:
liveStreaming28 |
liveStreaming28 | Traceback (most recent call last):
liveStreaming28 | File "stream.py", line 268, in
liveStreaming28 | bbb_browser()
liveStreaming28 | File "stream.py", line 163, in bbb_browser
liveStreaming28 | except JavaScriptException:
liveStreaming28 | NameError: name 'JavaScriptException' is not defined
liveStreaming28 exited with code 1
To Reproduce
Steps to reproduce the behavior:
- Configure BBB to use mediasoup
yq w -i /etc/bigbluebutton/bbb-html5.yml public.kurento.mediaServer mediasoup
yq w -i /etc/bigbluebutton/bbb-html5.yml public.kurento.videoMediaServer mediasoup
yq w -i /etc/bigbluebutton/bbb-html5.yml public.kurento.listenOnlyMediaServer mediasoup
yq w -i /etc/bigbluebutton/bbb-html5.yml public.kurento.signalCandidates false
- restart bbb : bbb-conf --restart
- Launch bbb-livestreaming beta9
Environment:
BBB 2.4.x
Scalelite 1.3.2
Describe the bug
Hello,
bbb-livestreaming beta 9 crashes when BBB is configured with mediasoup.
This error does not appears with Kurento only
The error is as follows:
liveStreaming28 | INFO:root:Waiting for chat input window to appear.
liveStreaming28 | Traceback (most recent call last):
liveStreaming28 | File "stream.py", line 162, in bbb_browser
liveStreaming28 | browser.execute_script("document.querySelector('[aria-label="User list"]').parentElement.style.display='none';")
liveStreaming28 | File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 636, in execute_script
liveStreaming28 | 'args': converted_args})['value']
liveStreaming28 | File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
liveStreaming28 | self.error_handler.check_response(response)
liveStreaming28 | File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
liveStreaming28 | raise exception_class(message, screen, stacktrace)
liveStreaming28 | selenium.common.exceptions.JavascriptException: Message: javascript error: Cannot read properties of null (reading 'parentElement')
liveStreaming28 | (Session info: chrome=96.0.4664.110)
liveStreaming28 |
liveStreaming28 |
liveStreaming28 | During handling of the above exception, another exception occurred:
liveStreaming28 |
liveStreaming28 | Traceback (most recent call last):
liveStreaming28 | File "stream.py", line 268, in
liveStreaming28 | bbb_browser()
liveStreaming28 | File "stream.py", line 163, in bbb_browser
liveStreaming28 | except JavaScriptException:
liveStreaming28 | NameError: name 'JavaScriptException' is not defined
liveStreaming28 exited with code 1
To Reproduce
Steps to reproduce the behavior:
yq w -i /etc/bigbluebutton/bbb-html5.yml public.kurento.mediaServer mediasoup
yq w -i /etc/bigbluebutton/bbb-html5.yml public.kurento.videoMediaServer mediasoup
yq w -i /etc/bigbluebutton/bbb-html5.yml public.kurento.listenOnlyMediaServer mediasoup
yq w -i /etc/bigbluebutton/bbb-html5.yml public.kurento.signalCandidates false
Environment:
BBB 2.4.x
Scalelite 1.3.2