Rate this page:
Since ver. 5.2.0

CallUpgradePayload

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

Methods

accept
Copy URL
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

  • type:

    void

reject
Copy URL
reject(): 

void

Rejects the call upgrade request.

The call continues as audio only.

Returns

  • type:

    void

Props

callId
Copy URL
callId: 

string

Call id

upgradeStatus
Copy URL
upgradeStatus: 

ReadonlyWatchable<CallUpgradeStatus>

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

Initially set to CallUpgradeStatus.Pending.

Rate this page: