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
JavaScript:
const plugNmeet = require('plugnmeet-sdk-js').PlugNmeet;
// now
const pnm = new plugNmeet(
'http://localhost:8080',
'plugnmeet',
'zumyyYWqv7KR2kUqvYdq4z4sXg7XTBD2ljT6',
);
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 |
endRoom | End active room |
fetchRecordings | Fetch recordings |
deleteRecordings | Delete recording |
getRecordingDownloadToken | Generate token to download recording |
getClientFiles | Get client's files |