Function: add_candidate()
function add_candidate(
db,
requestor,
sdp): Promise<boolean>;
Defined in: src/cosmos-driver.ts:395
Adds a SDP candidate to the cosmos DB. Candidate string describes the network connectivity information.
Parameters
| Parameter | Type | Description |
|---|---|---|
db | IState | Database |
requestor | string | UUID of sdp candidate |
sdp | string | Session Description Protocol (SDP) |
Returns
Promise<boolean>
boolean (True if successful, false if not)