Skip to content

Commit 4130d92

Browse files
committed
feat(livekit): add recording resync
There's currently no recording procedure in place when using bbb-webrtc-recorder for either the mediasoup or LiveKit adapter. This is problematic in cases where heartbeats are lost on overloaded servers or some other issue causes the recorder conn to be lost momentarily. E.g.: - State becomes desynced - Recordings might be aborted unnecessarily if they are still active in the recorder at reconn time Implement recording resync in the LiveKit module using the newly added getRecordings API from bbb-webrtc-recorder. This is currently restricted to LiveKit as to not cause any unforeseen issues in the default/prod setup (mediasoup). This is also the reason why some logic that could be inside the base bbb-webrtc-recorder.js wrapper (e.g.: orphaned session management, stop events based on resync) is isolated in the livekit recording manager instead. Once this proves stable, the basic resync logic will be moved to the bbb-webrtc-recorder base wrapper.
1 parent ee0c119 commit 4130d92

File tree

3 files changed

+333
-84
lines changed

3 files changed

+333
-84
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ For previous changes, see the [release notes](https://github.com/bigbluebutton/b
1010

1111
* feat(livekit): RTC-based event source (alternative to webhooks)
1212
* feat: getRecordings primitive in bbb-webrtc-recorder client
13+
* feat(livekit): add recording resync
1314
* build: livekit-server-sdk@2.13.2
1415

1516
### v2.19.2

0 commit comments

Comments
 (0)