Skip to main content

AuviousRtc

@auvious/rtc / Exports / AuviousRtc

Interface: AuviousRtc

Main Library Interface. Instances of this type, abstract the webrtc api, and the interaction with auvious-rtc backend.

Table of contents

Methods

Methods

call

call(username, options?): void

Parameters

NameType
usernamestring
options?ICallOptions

Returns

void


createConference

createConference(options?): Promise<IConference>

Parameters

NameType
options?ICreateConferenceOptions

Returns

Promise<IConference>


endpoint

endpoint(): string

Returns

string


identity

identity(): string

Returns

string


joinConference

joinConference(options): Promise<IConferenceSession>

Parameters

NameType
optionsIJoinConferenceOptions

Returns

Promise<IConferenceSession>


message

message(username, message): Promise<void>

Parameters

NameType
usernamestring
messagestring

Returns

Promise<void>


on

on(event, handler): any

Parameters

NameType
eventstring
handler(event: any) => void

Returns

any


register

register(options): Promise<void>

Parameters

NameType
optionsIRegisterOptions

Returns

Promise<void>


registered

registered(): boolean

Returns

boolean


unregister

unregister(): Promise<void>

Returns

Promise<void>