Skip to content

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

Class: VideoChatSessionController

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new VideoChatSessionController(chatSessionService)

Parameters

Name Type
chatSessionService ChatSessionService

Defined in

services/video-conferencing-service/src/controllers/video-chat-session.controller.ts:30

Properties

chatSessionService

chatSessionService: ChatSessionService

Defined in

services/video-conferencing-service/src/controllers/video-chat-session.controller.ts:32

Methods

checkWebhookPayload

checkWebhookPayload(webhookPayload): Promise<void>

Parameters

Name Type
webhookPayload VonageSessionWebhookPayload

Returns

Promise<void>

Defined in

services/video-conferencing-service/src/controllers/video-chat-session.controller.ts:137


editMeeting

editMeeting(meetingLinkId, body): Promise<void>

Parameters

Name Type
meetingLinkId string
body Partial<VideoChatSession>

Returns

Promise<void>

Defined in

services/video-conferencing-service/src/controllers/video-chat-session.controller.ts:93


endSession

endSession(meetingLinkId): Promise<void>

Parameters

Name Type
meetingLinkId string

Returns

Promise<void>

Defined in

services/video-conferencing-service/src/controllers/video-chat-session.controller.ts:118


getAttendeesList

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

Parameters

Name Type
meetingLinkId string
active string

Returns

Promise<SessionAttendees[]>

Defined in

services/video-conferencing-service/src/controllers/video-chat-session.controller.ts:165


getMeetingLink(meetingOptions): Promise<string>

Parameters

Name Type
meetingOptions MeetingOptions

Returns

Promise<string>

Defined in

services/video-conferencing-service/src/controllers/video-chat-session.controller.ts:35


getMeetingToken

getMeetingToken(sessionOptions, meetingLinkId): Promise<SessionResponse>

Parameters

Name Type
sessionOptions SessionOptions
meetingLinkId string

Returns

Promise<SessionResponse>

Defined in

services/video-conferencing-service/src/controllers/video-chat-session.controller.ts:60


processStreamDestroyedEvent

processStreamDestroyedEvent(webhookPayload, sessionAttendeeDetail, updatedAttendee): Promise<void>

Parameters

Name Type
webhookPayload VonageSessionWebhookPayload
sessionAttendeeDetail SessionAttendees
updatedAttendee Partial<SessionAttendees>

Returns

Promise<void>

Defined in

services/video-conferencing-service/src/controllers/video-chat-session.controller.ts:153