Namespace Uniform.LiveKit.Protocol
Classes
AccessToken
The claims of a LiveKit access token: a JWT signed with HS256 by an API secret, whose issuer is the API key.
AuthorizationError
A failure answer, in Matrix style.
CallMember
The call member a TokenRequest is for, as in its membership event.
DelayedLeave
Fields of a delayed leave handed to the service: it keeps the member's delayed leave event (MSC4140) from going off while the member is on LiveKit, and sends it once the member is gone, so the member's device need not restart it often.
LegacySfuRequest
Body of the legacy POST /sfu/get: a token for the room's call.
MatrixRtcNames
LiveKit room names and participant identities of MatrixRTC calls, as lk-jwt-service makes them: SHA-256 of a JSON array of strings, in unpadded Base64, so that they hide the Matrix names and every client and service arrives at the same ones.
OpenIdToken
A Matrix OpenID token, as /_matrix/client/v3/user/{userId}/openid/request_token returns it, which proves the user to a service through the user's homeserver.
SfuResponse
Answer of both requests: where LiveKit is and the token to join with.
TokenRequest
Body of POST /get_token: a token for slot SlotId of a room.
VideoGrant
What an access token lets its holder do in LiveKit rooms, the video claim; unset permissions are left out of the token, and LiveKit reads a missing publish or subscribe permission as allowed.