feat(teleop): add LiveKit hosted teleop module - #3398
Draft
ruthwikdasyam wants to merge 4 commits into
Draft
Conversation
ruthwikdasyam
requested review from
Dreamsorcerer,
leshy,
mustafab0,
paul-nechifor and
spomichter
as code owners
August 8, 2026 02:19
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## main #3398 +/- ##
==========================================
- Coverage 76.09% 76.03% -0.06%
==========================================
Files 1189 1193 +4
Lines 115284 115750 +466
Branches 10366 10403 +37
==========================================
+ Hits 87720 88016 +296
- Misses 24553 24707 +154
- Partials 3011 3027 +16
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 3 files with indirect coverage changes 🚀 New features to boost your workflow:
|
ruthwikdasyam
marked this pull request as draft
August 8, 2026 03:05
ruthwikdasyam
force-pushed
the
ruthwik/feat/livekit-hosted-module
branch
from
August 8, 2026 03:05
38d4927 to
f5e3c5c
Compare
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.
Contribution path
Problem
Hosted teleoperation only supports the Cloudflare transport path. The previous LiveKit attempt predated the current hosted teleop module foundation and was closed as superseded.
Solution
Add a LiveKit room edge module that obtains broker-minted room credentials, manages broker heartbeat and session cleanup, routes existing hosted command/state/telemetry/map ports, publishes the camera mux track, and forwards operator-loss to the existing safety path. Add Go2, XArm6, and XArm7 blueprints without adding a generic DimOS transport.
How to Test
uv sync --extra livekit && uv run pytest dimos/teleop/hosted/test_livekit.py dimos/robot/test_all_blueprints.py -vA credentialed broker/operator session is still required to validate a real LiveKit room.
AI assistance
OpenCode with gpt-5.6-terra implemented the feature and tests; the author reviewed the resulting code.
Checklist