plugnmeet-sdk-js
TypeScript icon, indicating that this package has built-in type declarations

1.4.1 • Public • Published

plugNmeet-sdk-js

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

Installation:

npm install plugnmeet-sdk-js

Usage

Import

CommonJS:

const plugNmeet = require('plugnmeet-sdk-js').PlugNmeet;

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

ES Modules/TypeScript:

import { PlugNmeet } from 'plugnmeet-sdk-js';

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
fetchPastRoomsInfo Get past rooms information
endRoom End active room
fetchAnalytics Fetch analytics
deleteAnalytics Delete analytics
getAnalyticsDownloadToken Generate token to download analytics data
fetchRecordings Fetch recordings
deleteRecordings Delete recording
getRecordingDownloadToken Generate token to download recording
getClientFiles Get client's files

Readme

Keywords

none

Package Sidebar

Install

npm i plugnmeet-sdk-js

Weekly Downloads

70

Version

1.4.1

License

MIT

Unpacked Size

122 kB

Total Files

11

Last publish

Collaborators

  • jibon57
  • mynaparrot