bigbluebutton-Github/bigbluebutton-html5/imports/api
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
..
annotations fix: Drop heavy log from sendBulkAnnotations.js (#19633) 2024-02-16 15:46:18 -05:00
audio/client/bridge feat: add experimental support for ICE restart 2024-08-23 09:59:51 -03:00
audio-captions feat(gladia): Print Gladia errors in the console 2024-02-08 14:50:24 -03:00
auth-token-validation Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00
breakouts remove unused code 2023-06-22 15:35:40 -03:00
breakouts-history Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00
captions Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00
common/server Improve text sanitizing of lobby messages 2023-07-26 16:12:39 -03:00
connection-status Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00
cursor Merge remote-tracking branch 'upstream/v2.7.x-release' into lodash-radash 2023-04-05 09:42:05 -03:00
external-videos Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00
group-chat Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00
group-chat-msg Merge remote-tracking branch 'upstream/v2.6.x-release' into 2627-aug10 2023-08-10 11:49:01 -03:00
guest-users Improve text sanitizing of lobby messages 2023-07-26 16:12:39 -03:00
local-settings Merge remote-tracking branch 'upstream/v2.7.x-release' into lodash-radash 2023-04-05 09:42:05 -03:00
log-client/server Create ClientConnections structure and auth-token-validation collection 2020-09-01 09:07:56 -03:00
meetings feat(bbb-html5): Ban specific users from the public chat (#20585) 2024-07-17 12:56:33 -04:00
pads feat: Initial implementation of Gladia transcriptions to BBB 2.7 (#19091) 2023-11-30 10:10:36 -05:00
polls Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00
presentation-pods Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00
presentation-upload-token Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00
presentations [issue-18449] - changes in review 2023-08-18 10:57:50 -03:00
screenshare feat: add experimental support for ICE restart 2024-08-23 09:59:51 -03:00
slides add missing await 2023-04-06 17:04:47 -03:00
timer [port-timer-with-events-suggestions] - made review suggestions 2023-06-08 16:37:32 -03:00
user-reaction Fix: user reaction not showing right emoji 2024-04-26 16:52:28 -03:00
users fix: Dial-in -- add missing webcamBackground prop for dial-in users (#20799) 2024-07-30 11:27:40 -04:00
users-infos Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00
users-persistent-data Persist webcamBackground in the client 2024-07-09 12:13:50 +00:00
users-settings feat: join param for default animations setting value 2024-01-15 11:59:40 -03:00
video-streams Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00
voice-call-states Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00
voice-users Merge remote-tracking branch 'upstream/v2.6.x-release' into 26-27-apr24 2023-04-24 17:15:47 -03:00
whiteboard-multi-user Migration of the API to async for Meteor3.0 2023-03-31 17:40:41 -03:00