Skip to content

@sourceloop/video-conferencing-service / Exports / ISessionService

Interface: ISessionService

Table of contents

Methods

Methods

checkWebhookPayload

checkWebhookPayload(webhookPayload): void

Parameters

Name Type
webhookPayload VonageSessionWebhookPayload

Returns

void

Defined in

services/video-conferencing-service/src/types.ts:195


editMeeting

editMeeting(meetingLinkId, body): Promise<void>

Parameters

Name Type
meetingLinkId string
body Partial<VideoChatSession>

Returns

Promise<void>

Defined in

services/video-conferencing-service/src/types.ts:187


endSession

endSession(meetingLinkId): Promise<void>

Parameters

Name Type
meetingLinkId string

Returns

Promise<void>

Defined in

services/video-conferencing-service/src/types.ts:193


getAttendeesList

getAttendeesList(meetingLinkId, active): Promise<SessionAttendees[]>

Parameters

Name Type
meetingLinkId string
active string

Returns

Promise<SessionAttendees[]>

Defined in

services/video-conferencing-service/src/types.ts:202


getMeetingLink(options): Promise<string>

Parameters

Name Type
options MeetingOptions

Returns

Promise<string>

Defined in

services/video-conferencing-service/src/types.ts:180


getMeetingToken

getMeetingToken(sessionOptions, meetingLinkId): Promise<SessionResponse>

Parameters

Name Type
sessionOptions SessionOptions
meetingLinkId string

Returns

Promise<SessionResponse>

Defined in

services/video-conferencing-service/src/types.ts:182


processStreamDestroyedEvent

processStreamDestroyedEvent(webhookPayload, sessionAttendeeDetail, updatedAttendee): void

Parameters

Name Type
webhookPayload VonageSessionWebhookPayload
sessionAttendeeDetail SessionAttendees
updatedAttendee Partial<SessionAttendees>

Returns

void

Defined in

services/video-conferencing-service/src/types.ts:196