Add config option for livekit #1356
No reviewers
Labels
No labels
Blocked
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
To-Merge
Wont fix
old/ci/cd
old/rust
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1356
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "magikid/continuwuity:cjones/push-sp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This adds a new config option under
global.well_knownfor livekitserver URLs. It also updates the well_known client API endpoint to
return this list.
Closes #1355
This pull request...
Pull request checklist:
mainbranch, and the branch is named something other thanmain.myself, if applicable. This includes ensuring code compiles.
ad105b520bf255f9f4ddI actually think this might be blocked by the version of ruma we're running.
f255f9f4ddbb570727e1bb570727e1cb81f691f7If necessary you can make a PR to continuation/ruwuma and change the commit hash used by the repo
@ -2112,2 +2112,4 @@/// listed.pub support_mxid: Option<OwnedUserId>,/// A list of URL to live kit servers which will be served as part of theNit: these are URLs to an authentication service rather than LiveKit itself (I say this because we might get the authentication service built in in future)
I was mainly keeping this in line with what I had seen elsewhere in documentation. Most of what I have seen says this is the livekit server URL. If I were going to change it, do you have a recommendation?
something like
a list of URLs MatrixRTC Authorization Service bridges to LiveKitwould be correct in this case. If you get the other config working it would bea list of MatrixRTC foci URLsthoughDone. I changed it to:
@ -2114,0 +2118,4 @@////// Defaults to: []#[serde(default = "default_livekit_urls")]pub livekit_urls: Vec<Url>,Can we make this so the user can select what kind of foci they use? In theory the spec allows multiple kinds, even though livekit is the only currently-extant one.
Not while still using the ‘Response’ object for the API:
(From Ruma)
And so far they only define a
LiveKit(LiveKitRtcFocusInfo)livekit versionThey specify _Custom(CustomRtcFocusInfo), and the type implements Deserialize - so if you use the
RtcFocusInfotype in the config, it should allow specifying it in the same manner as the actual served JSONI'm not too fussed about this if you can't get it working
It was exactly as easy as it sounded. The config below now works.
API response
I think this is all done now too.
If you have any questions font forget you can ask in #dev
Wouldn't a
"type": "livekit"field be needed too?Depends on continuwuation/ruwuma#47 being merged in
cb81f691f7dbd41ed1a2WIP: Add config option for livekitto Add config option for livekitdbd41ed1a2db10c30d1fAdd config option for livekitto WIP: Add config option for livekitdb10c30d1fbd504108b7Okay, finally able to test it and with the config:
It produces:
WIP: Add config option for livekitto Add config option for livekitbd504108b73960dbf4043960dbf404b24e03e694b24e03e694bd7d295f45@Jade This is ready for another review