aau-zid / BigBlueButton-liveStreaming

Streams a given BBB Meeting to an RTMP Server.
GNU General Public License v3.0
200 stars 159 forks source link

Bug With mediasoup #148

Open ffarenea opened 2 years ago

ffarenea commented 2 years ago

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:

  1. 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
  2. restart bbb : bbb-conf --restart
  3. Launch bbb-livestreaming beta9

Environment: BBB 2.4.x Scalelite 1.3.2