Skip to main content
Module

x/plugnmeet/mod.ts>PlugNmeet

Plug-N-Meet SDK for NodeJS and Deno
Go to Latest
class PlugNmeet
import { PlugNmeet } from "https://deno.land/x/plugnmeet@v1.0.2/mod.ts";

Constructors

new
PlugNmeet(
serverUrl: string,
apiKey: string,
apiSecret: string,
)

Properties

protected
defaultPath: string

Methods

createRoom(params: CreateRoomParams): Promise<CreateRoomResponse>

Create new room

deleteRecordings(params: DeleteRecordingsParams): Promise<DeleteRecordingsResponse>

Delete recording

endRoom(params: EndRoomParams): Promise<EndRoomResponse>

End active room

fetchRecordings(params: FetchRecordingsParams): Promise<FetchRecordingsResponse>

Fetch recordings

getActiveRoomInfo(params: ActiveRoomInfoParams): Promise<ActiveRoomInfoResponse>

Get active room information

getActiveRoomsInfo(): Promise<ActiveRoomsInfoResponse>

Get all active rooms

getClientFiles(): Promise<ClientFilesResponse>
getJoinToken(params: JoinTokenParams): Promise<JoinTokenResponse>

Generate join token

getRecordingDownloadToken(params: RecordingDownloadTokenParams): Promise<RecordingDownloadTokenResponse>

Generate token to download recording

isRoomActive(params: IsRoomActiveParams): Promise<IsRoomActiveResponse>

If room is active or not