Class CallMemberContent
Content of CallMember, a device's membership in a room's call, as Element Call writes it; empty when the device left.
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record CallMemberContent : IEquatable<CallMemberContent>
Remarks
The state key is {user}{device}_m.call. A membership is valid until CreatedTs, or the event's own time, plus Expires; a delayed event of empty content ends it when the device disappears.
Properties
| Edit this page View SourceApplication
The application, m.call for calls.
Declaration
public string? Application { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
CallId
The call within the room; empty for the room's one call.
Declaration
public string? CallId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
CallIntent
The call's intent, audio or video.
Declaration
[JsonPropertyName("m.call.intent")]
public string? CallIntent { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
CreatedTs
When the member joined, in milliseconds since the epoch, when this is an update of its membership.
Declaration
public long? CreatedTs { get; init; }
Property Value
| Type | Description |
|---|---|
| long? |
DeviceId
The member's device.
Declaration
public string? DeviceId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Expires
Milliseconds after joining that the membership ends unless updated.
Declaration
public long? Expires { get; init; }
Property Value
| Type | Description |
|---|---|
| long? |
FociPreferred
The transports the member publishes on, its own homeserver's first.
Declaration
public IReadOnlyList<RtcTransport>? FociPreferred { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<RtcTransport> |
FocusActive
How the member chooses its SFU.
Declaration
public RtcFocusActive? FocusActive { get; init; }
Property Value
| Type | Description |
|---|---|
| RtcFocusActive |
IsJoined
Whether this is a membership, not a leave's empty content.
Declaration
[JsonIgnore]
public bool IsJoined { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MembershipId
The member's identity on the SFU, {user}:{device}.
Declaration
[JsonPropertyName("membershipID")]
public string? MembershipId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Scope
m.room for the room's call.
Declaration
public string? Scope { get; init; }
Property Value
| Type | Description |
|---|---|
| string |