Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 888 Bytes

File metadata and controls

25 lines (15 loc) · 888 Bytes

Home > sip.js > SessionDescriptionHandler > waitForIceGatheringComplete

SessionDescriptionHandler.waitForIceGatheringComplete() method

Wait for ICE gathering to complete.

Signature:

protected waitForIceGatheringComplete(restart?: boolean, timeout?: number): Promise<void>;

Parameters

Parameter Type Description
restart boolean If true, waits if current state is "complete" (waits for transition to "complete").
timeout number Milliseconds after which waiting times out. No timeout if 0.

Returns:

Promise<void>