Function: expire_sdp()
function expire_sdp(
db,
requestor,
source,
kind,
destination): Promise<boolean>;
Defined in: src/cosmos-driver.ts:314
Finds any SDP from source, updates the record to expire it.
Parameters
| Parameter | Type | Description |
|---|---|---|
db | IState | Cosmos DB Connection |
requestor | string | UUID of user requesting SDP expiration |
source | string | UUID of user |
kind | string | Type of sdp db record requesting: "answer" or "offer" |
destination | string | UUID of other user |
Returns
Promise<boolean>
boolean (True if successful, false if not)