bigbluebutton-Github/bigbluebutton-html5
prlanzarin d2dde8a9b1 feat: add experimental support for ICE restart
We currently use full renegotiation for audio, video, and screen sharing
reconnections, which involves re-creating transports and signaling channels
from scratch. While effective in some scenarios, this approach is slow and,
especially with outbound cameras and screen sharing, prone to failures.

To counter that, WebRTC provides a mechanism to restart ICE without needing
to re-create the peer connection. This allows us to avoid full renegotiation
and bypass some server-side signaling limitations. Implementing ICE restart
should make outbound camera/screen sharing reconnections more reliable and
faster.

This commit implements the ICE restart procedure for all WebRTC components,
based on bbb-webrtc-sfu >= v2.15.0-beta.0, which added support for ICE restart
requests. This feature is off by default. To enable it, adjust the following
flags:

- `/etc/bigbluebutton/bbb-webrtc-sfu/production.yml`: `allowIceRestart: true`
- `/etc/bigbluebutton/bbb-html5.yml`: `public.kurento.restartIce`
  * Refer to the inline documentation; this can be enabled on the client side
    per media type.
  * Note: The default max retries for audio is lower than for cameras/screen
    sharing (1 vs 3). This is because the full renegotiation process for audio
    is more reliable, so ICE restart is attempted first, followed by full
    renegotiation if necessary. This approach is less suitable for cameras/
    screen sharing, where longer retry periods for ICE restart make sense
    since full renegotation there is... iffy.
2024-08-23 09:59:51 -03:00
..
.meteor chore: upgrade Meteor 2.12 to 2.13 2023-08-22 14:21:30 -04:00
client undo createRoot changes in main 2023-06-28 10:38:25 -03:00
imports feat: add experimental support for ICE restart 2024-08-23 09:59:51 -03:00
private feat: add experimental support for ICE restart 2024-08-23 09:59:51 -03:00
public Translate en.json in ja (#20903) 2024-08-12 13:02:12 -04:00
server Merge branch 'v2.7.x-release' into port-timer 2023-05-26 10:33:38 -03:00
.eslintignore
.eslintrc.js
.gitignore copy tldraw fonts to public/files 2023-01-10 10:21:01 -03:00
deploy_to_usr_share.sh Use meteor-npm to install html5 2022-09-20 11:22:35 -03:00
jsconfig.json Add jsconfig 2022-02-21 12:42:29 +00:00
package-lock.json build(deps): bump the npm_and_yarn group across 5 directories with 6 updates 2024-07-24 19:48:05 +00:00
package.json chore: bump npm deps 2024-05-02 16:31:19 -04:00
run-dev.sh Create learning dashboard scripts 2022-04-01 09:15:30 -03:00
test-html5.sh