sip.js.sessiondescriptionhandler.icegatheringcomplete.md

October 21, 2022 ยท View on GitHub

Home > sip.js > SessionDescriptionHandler > iceGatheringComplete

SessionDescriptionHandler.iceGatheringComplete() method

Called when ICE gathering completes and resolves any waiting promise.

Signature:

iceGatheringComplete(): void;

Returns:

void

Remarks

May be called prior to ICE gathering actually completing to allow the session descirption handler proceed with whatever candidates have been gathered up to this point in time. Use this to stop waiting on ICE to complete if you are implementing your own ICE gathering completion strategy.