bigbluebutton-Github/bigbluebutton-html5/imports
prlanzarin a83f3b675e fix(video): add proper signaling WS heartbeat, +
video-provider's current ping-pong is as good as nothing in 2.5+. We
were counting on Meteor's (and consequently the component's mount state)
before 2.5 to act as a "heartbeat" as far as the socket is concerned.
The ping-pong served only to sustain traffic for finnicky,
traffic-dependant firewall.
Since 2.5, the component's state is _kind of_ detached from Meteor's -
which means it won't unmount when Meteor disconnects. That causes the
video-provider websocket to lose its borrowed heartbeat and leads to a
bunch of reconnectiong inconsistencies, the worst of them being a stuck,
useless signaling socket that will cause cameras not to work until a
client refresh.

This commit does the following:
  - Implements actual heartbeat checks to trigger signaling socket
    reconnects when necessary, all within the scope of video-provider
  - Remove borked, eons old 'offline'/'online' event handlers: they were
    causing unnecessary camera drops AND causing video-provider to
    generate a stuck signaling socket
  - Properly catch WebSockets.send errors
2023-03-08 15:46:51 -03:00
..
api Merge pull request #16820 from antobinary/indexing-2 2023-03-07 09:04:24 -03:00
startup Fixed: Notification for ejected users now delivered. 2023-02-27 11:51:08 -03:00
ui fix(video): add proper signaling WS heartbeat, + 2023-03-08 15:46:51 -03:00
utils Merge pull request #16172 from schrd/fix-issue-16171 2023-01-05 06:13:31 -05:00