Repository navigation
Conversation
Joins a room over LiveKit's signaling with a publisher and a subscriber peer, publishes and subscribes to tracks and exchanges data packets. No simulcast, dynacast or reconnect yet.
Video goes out in LiveKit's q/h/f layers, the layers no subscriber wants pause on the server's quality updates, and subscribers can request a layer.
A lost signaling connection, a failed peer, missed pings or the server's leave resume the session with an ICE restart; a session the server cannot resume is joined anew, with the tracks published again.
A handler added after connect() missed the tracks that arrived before it. Also tests publishing audio.
Owner
Author
|
Closing without merging: the LiveKit client moves to a repository of its own, devopvoid/webrtc-java-livekit, which will be published once webrtc-java 1.0.2 is released. |
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.
Description
A new module,
webrtc-java-livekit(webrtc.java.livekit), joins rooms of a LiveKit server on top of the client API:LiveKit.room(rtc, url, token).connect()joins a room, with participants, their join and leave events, and the tracks they publish.Room.publish(...)publishes local tracks, video optionally in simulcast with LiveKit's layers and dynacast.Room.publishData(...)andonDatasend and receive reliable or lossy data by topic.docs/guide/client/livekit.md) andLiveKitExample.Motivation and Context
LiveKit is a widely used open source SFU. With this module a Java application can take part in its rooms without a browser, for example in lectures with many passive viewers and a few who speak.
Type of Change
feat)Affected Modules
webrtc-livekit(new)webrtc-examplesdocsNotes for Reviewers
protobuf-javaalong.livekit-server --devand run only with-Dlivekit.url=ws://localhost:7880, so CI skips them.