feat(webrtc): LiveKit broker backend#2518
Open
ruthwikdasyam wants to merge 7 commits into
Open
Conversation
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## feat/webrtc-transport #2518 +/- ##
=========================================================
+ Coverage 69.10% 70.08% +0.98%
=========================================================
Files 842 823 -19
Lines 74686 71896 -2790
Branches 6708 6565 -143
=========================================================
- Hits 51610 50387 -1223
+ Misses 21409 19897 -1512
+ Partials 1667 1612 -55
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 55 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Contributor
…ailure; surface heartbeat errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
LiveKit as an alternative transport — simpler signaling (no SDP relay / SCTP-id juggling)
Closes DIM-XXX
Solution
LiveKitBrokerProvider(providers/livekit_broker.py): asks thedimensional-teleopbroker for a LiveKit room + JWT, connects straight to the SFU, and exposes the same bytes pub/sub + video contract asBrokerProvider. Topics (cmd_unreliable/state_reliable/state_reliable_back) are kept identical so the typed-fingerprint demux is unchanged.LiveKitTransport/LiveKitVideoTransportincore/transport.py— drop-in alternatives to the Cloudflare classes (just swap_config_cls).teleop-hosted-go2-livekit; backend is chosen purely by which transport the blueprint wires.livekitoptional extra (pip install dimos[livekit]); module imports cleanly without it via afind_specgate.publish/video paths mirror
BrokerProvider(schedule under the lock; 16-bit frames scaled, not truncated). No changes to the merged Cloudflare path.How to Test
Contributor License Agreement