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
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
reject(): void
Rejects the call upgrade request.
The call continues as audio only.
Returns
type:
void
Props
callId
callId: string
Call id
upgradeStatus
upgradeStatus: Watchable property that reflects the current state of the call upgrade request.
Initially set to CallUpgradeStatus.Pending.