Skip to navigation

CallUpgradePayload (interface)

Web SDK v5 API reference
View as Markdown

CallEvents

If neither CallUpgradePayload.accept nor CallUpgradePayload.reject is called within 8 seconds, the request is automatically rejected.

Since: 5.2.0

Methods

Properties

Methods

accept

accept(): void

Accepts the call upgrade request and enables video receiving for the call.

To also send local video, use Call.addStream after accepting.

Returns: void

reject

reject(): void

Rejects the call upgrade request.

The call continues as audio only.

Returns: void

Properties

callId

callId: string

Call id

upgradeStatus

Watchable property that reflects the current state of the call upgrade request.

Initially set to CallUpgradeStatus.Pending.