Interface VDIAdapter

A virtual desktop platform that runs media on the user's device instead of in the browser. Supply one through MeetingSessionConfiguration.vdiAdapter and the vdiAdapter option of DefaultDeviceController; without one the SDK uses the browser. Every member but name is optional, and the SDK uses the browser for what an adapter does not supply.

interface VDIAdapter {
    mediaDevices?: Pick<MediaDevices, "getUserMedia" | "enumerateDevices">;
    name: string;
    createPeerConnection(configuration: RTCConfiguration): RTCPeerConnection;
}

Implemented by

Properties

mediaDevices?: Pick<MediaDevices, "getUserMedia" | "enumerateDevices">

Opens and lists devices. Without it, navigator.mediaDevices.

name: string

Identifies the platform in logs, for example when the peer connection is created.

Methods

  • Creates the meeting's peer connection. Without it, new RTCPeerConnection(configuration).

    Parameters

    • configuration: RTCConfiguration

    Returns RTCPeerConnection