ReadonlybackendReadonlyrtcCheck the backend for the existence of any of backendIdentities instead.
Information about the application being used for the RTC session. May contain extra keys specific to the application.
Experimental
The unstable call intent this member advertises, or undefined if none.
Part of MSC4196.
Use CallMembership.intent instead.
Experimental
The stable call intent this member advertises, or undefined if none.
Part of MSC4196.
This computes the membership ID for the membership.
For the sticky event based rtcSessionData this is trivial it is member.id.
This is not supposed to be used to identity on an rtc backend. This is just a nuance for
a generated (sha256) anonymised identity. Only send backendIdentities to any rtc backend service.
For the legacy sessionMemberEvents it is a bit more complex. Here we sometimes do not have this data
in the event content and we expected the SFU and the client to use ${this.matrixEventData.sender}:${data.device_id}.
So if there is no membershipID we use the hard coded jwt id default (${this.matrixEventData.sender}:${data.device_id})
value (used until version 0.16.0)
It is also possible for a session event to set a custom membershipID. in that case this will be used.
Parsed slot_id (format {application}#{id}) into its components (application and id).
The ID of the MatrixRTC slot that this membership belongs to (format {application}#{id}).
This is computed in case SessionMembershipData is used.
The value of the transports.published field for RTC memberships (m.rtc.member).
Or the value of the foci_preferred field for legacy session memberships (m.call.member).
Gets the absolute expiry timestamp of the membership.
The absolute expiry time of the membership as a unix timestamp in milliseconds or undefined if not applicable
Experimental
Gets the primary transport used by this call membership to publish media.
For RTC membership (m.rtc.member), the transport is computed from the transports.published array.
For legacy session membership (m.call.member), in turn, the transport is computed from the foci_preferred
array.
Regardless of the membership kind, the transport is chosen in the following sequence:
m.livekit transport from the array if there is one.livekit transport from the array if there is one.Optional_oldestMembership: CallMembership
Deprecated and unused.
The transport this membership uses to publish media.
Part of MSC4195.
true if the membership has expired, otherwise false
StaticequalOptionala: CallMembershipOptionalb: CallMembershipStaticmembershipParse the membershipdata from a call membership event.
The Matrix event to read.
MembershipData in either MembershipKind.RTC or MembershipKind.Session format.
StaticparseParse the contents of a MatrixEvent and create a CallMembership instance.
The Matrix event to read.
Possible identities which this member may have on the backends of their published transports.