Member Junction
    Preparing search index...

    Interface RealtimeModalityDescriptor

    Descriptor for a registered modality — what MJ knows about a modality beyond its key.

    Registration is how a modality becomes more than an opaque string: it gains a default encoding, a consent requirement, and a metering basis that hosts and cost accounting can rely on without hardcoding a modality list of their own.

    interface RealtimeModalityDescriptor {
        DefaultEncoding?: string;
        DefaultUsageBasis?: readonly RealtimeTrackUsageBasis[];
        Directions: readonly RealtimeTrackDirection[];
        DisplayName: string;
        Key: RealtimeModalityKey;
        RequiresConsent?: boolean;
    }
    Index

    Properties

    DefaultEncoding?: string

    Default wire encoding when a request does not pin one.

    DefaultUsageBasis?: readonly RealtimeTrackUsageBasis[]

    Default metering basis for tracks of this modality.

    Directions: readonly RealtimeTrackDirection[]

    Directions this modality is meaningful in.

    DisplayName: string

    Human-readable name for UI and logs.

    The key this descriptor describes.

    RequiresConsent?: boolean

    Whether tracks of this modality require an explicit human grant by default.