Citrix HDX media redirection. The SDK does not include the UCSDK; the application passes in an initialized one.

Implements

Constructors

Properties

logger?: Logger
mediaDevices: CitrixMediaDevices

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

name: "CitrixVDIAdapter" = 'CitrixVDIAdapter'

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

windowHandle: string

Methods

  • Initializes the Bootstrap and the UCSDK, waits for the endpoint to connect, and returns an adapter for it. Rejects if the window handle or the endpoint connection does not arrive within timeoutMs each, or the endpoint cannot redirect WebRTC, so the application can join without one instead.

    This registers the UCSDK VM event callback, which holds a single listener. When another component on the page already initialized the UCSDK, such as a Citrix softphone, construct the adapter with that component's window handle instead.

    Returns Promise<CitrixVDIAdapter>