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 rtc_transports
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
The focus_active filed of the session membership (m.call.member).
The number of milliseconds until the membership expires or undefined if applicable
Gets the primary transport to use for this RTC membership (m.rtc.member).
This will return the primary transport that is used by this call membership to publish their media.
Directly relates to the rtc_transports
field.
In case of a legacy session membership (m.call.member) this will return the selected transport where
media is published. How this selection happens depends on the focus_active
field of the session membership.
If the focus_selection
is oldest_membership
this will return the transport of the oldest membership
in the room (based on the created_ts
field of the session membership).
If the focus_selection
is multi_sfu
it will return the first transport of the foci_preferred
list.
(multi_sfu
is equivalent to how m.rtc.member
rtc_transports
work).
For backwards compatibility with session membership (legacy). Unused in case of RTC membership. Always required to make the consumer not care if it deals with RTC or session memberships.
The transport this membership uses to publish media or undefined if no transport is available.
true if the membership has expired, otherwise false
Static
equalOptional
a: CallMembershipOptional
b: CallMembership
The Matrix event that this membership is based on