matrix-js-sdk
    Preparing search index...

    Interface SessionConfig

    interface SessionConfig {
        applicationData?: Record<string, unknown>;
        callCapabilities?: string[];
        callIntent?: RTCCallIntent;
        notificationLifetimeMs?: number;
        notificationType?: RTCNotificationType;
    }
    Index
    applicationData?: Record<string, unknown>

    Application-specific data to publish in our membership event (in the application object of an m.rtc.member event, or at the top level of a legacy m.call.member event).

    type is always written by the SDK from the slot's application and will be dropped if given here. For m.call sessions, intent, m.call.intent and capabilities are also written by the SDK from SessionConfig.callIntent and SessionConfig.callCapabilities and will be dropped too. Other application types may use those keys freely.

    Read back through CallMembership.applicationData.

    callCapabilities?: string[]

    What kinds of media this device is capable of handling for the call.

    callIntent?: RTCCallIntent

    Determines the kind of call this will be.

    notificationLifetimeMs?: number

    How long (in milliseconds) the callee's client should keep ringing/waiting for an answer before the sender gives up and the call notification is considered timed out.

    notificationType?: RTCNotificationType

    What kind of notification to send when starting the session.

    undefined (no notification)