vonage-opentok-server
v1.0.1-beta.1
Published
A custom plugin (Beta version) for Strapi that simplifies setting up a basic Node.js OpenTok server, streamlining video communication capabilities. This plugin provides easy integration and configuration, enabling rapid deployment of essential OpenTok fun
Downloads
2
Readme
Strapi Plugin Vonage-opentok-server
This Strapi plugin provides an integration with the OpenTok platform to easily manage video communication capabilities for your Strapi application. It exposes API routes for managing OpenTok sessions and invitations, and adds a new menu item in the Strapi admin interface with dedicated Content Managers for "Invitation" and "OT_Session."
Features
- API routes:
/vonage-opentok-server/sessions
(GET, POST, PUT, DELETE)/vonage-opentok-server/invitations
(GET, POST, PUT, DELETE)
- Admin interface:
- New "Vonage opentok server" menu item
- Content Managers for "Invitation" and "OT_Session"
- Easy configuration of your OpenTok API key and secret through the admin interface
Installation
Install the plugin using one of the following package managers:
npm install vonage-opentok-server
or
yarn add vonage-opentok-server
Configuration
Before using the plugin, you'll need to configure the OpenTok API key and secret for your account. To do this, follow these steps:
- Go to the Strapi admin panel and find the "opentok" menu item in the main menu.
- Click on the "opentok" menu item to access the plugin settings page.
- Enter your OpenTok API key and secret into the provided fields and save your changes.
Your OpenTok credentials will be stored securely in the database and used by the plugin as needed.
Usage
After installing and configuring the plugin, you can use the API routes and the new Content Managers in the Strapi admin interface to manage OpenTok sessions and invitations.
To access the new "opentok" menu item and Content Managers, go to the Strapi admin panel, and you should see "opentok" in the main menu.
Click on "opentok" to access the "Invitation" and "OT_Session" Content Managers, where you can create, edit, and delete OpenTok sessions and invitations.
You can also interact with the exposed API routes to manage sessions and invitations programmatically.
Contributing
We welcome contributions to improve this plugin. If you find any issues or have suggestions for enhancements, please open an issue or submit a pull request on the GitHub repository.
License
This plugin is released under the MIT License. See the LICENSE file for more information.