Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/plugnmeet/mod.ts>PlugNmeet

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

Constructors

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

Properties

private
apiTransport: ApiTransport
protected
defaultPath: string

Methods

createRoom(params: CreateRoomParams): Promise<CreateRoomResponse>

Create new room

deleteAnalytics(params: DeleteAnalyticsParams): Promise<DeleteAnalyticsResponse>

Delete analytics

deleteRecordings(params: DeleteRecordingsParams): Promise<DeleteRecordingsResponse>

Delete recording

endRoom(params: EndRoomParams): Promise<EndRoomResponse>

End active room

fetchAnalytics(params: FetchAnalyticsParams): Promise<FetchAnalyticsResponse>

Fetch analytics

fetchPastRoomsInfo(params: FetchPastRoomsInfoParams): Promise<FetchRoomsInfoResponse>

Fetch info about past rooms

fetchRecordings(params: FetchRecordingsParams): Promise<FetchRecordingsResponse>

Fetch recordings

getActiveRoomInfo(params: ActiveRoomInfoParams): Promise<ActiveRoomInfoResponse>

Get active room information

getActiveRoomsInfo(): Promise<ActiveRoomsInfoResponse>

Get all active rooms

getAnalyticsDownloadToken(params: AnalyticsDownloadTokenParams): Promise<AnalyticsDownloadTokenResponse>

Generate token to download recording

getClientFiles(): Promise<ClientFilesResponse>

To get JS & CSS files to build interface

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