Skip to main content

Function: send_offer()

function send_offer(
db,
requestor,
other,
sdp): Promise<boolean>;

Defined in: src/cosmos-driver.ts:219

Sends an "offer" to the Cosmos database using send_sdp

Parameters

ParameterTypeDescription
dbIStateDB connection
requestorstringUUID of user sending offer
otherstringUUID of other user
sdpstringSession Description Protocol (SDP)

Returns

Promise<boolean>

boolean (True if successful, false if not)