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

plugNmeet-sdk-js

Plug-N-Meet SDK for Deno. You can use this SDK to make API requests to the Plug-N-Meet server from your backend application.

Usage

You can change it according to latest version

import { PlugNmeet } from 'https://deno.land/x/plugnmeet@v1.2.0/mod.ts';

const pnm = new PlugNmeet(
  'http://localhost:8080',
  'plugnmeet',
  'zumyyYWqv7KR2kUqvYdq4z4sXg7XTBD2ljT6',
);

Please check examples directory to see some examples.

Methods/API

Methods Description
createRoom To create new room
getJoinToken Generate join token
isRoomActive To check if room is active or not
getActiveRoomInfo Get active room information
getActiveRoomsInfo Get all active rooms
endRoom End active room
fetchRecordings Fetch recordings
deleteRecordings Delete recording
getRecordingDownloadToken Generate token to download recording
getClientFiles Get client’s files