From 7acd17680e57c73d06c1b61e2335883904698fa4 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Wed, 26 Jul 2023 13:29:19 +0200 Subject: [PATCH] [mirotalksfu] - update readme and dep --- README.md | 2 +- app/api/README.md | 13 ++++++++++++- package.json | 4 ++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d5e72fc7..73db8866 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ - Possibility to protect your Host with username and password (default disabled). - Supports [REST API](app/api/README.md) (Application Programming Interface). - [Slack](https://api.slack.com/apps/) API integration. -- [Sentry](https://sentry.io/) error reporting. +- [Sentry](https://sentry.io/) for error reporting. diff --git a/app/api/README.md b/app/api/README.md index 57e7da68..05a7f9cc 100644 --- a/app/api/README.md +++ b/app/api/README.md @@ -4,6 +4,17 @@ Create a meeting with a `HTTP request` containing the `API_KEY` sent to MiroTalk’s server. The response contains a `meeting` URL that can be `embedded` in your client within an `iframe`. +The `API_KEY` is defined in the `app/src/config.js`, change it with your own. + +```js +api: { + // app/api + keySecret: 'mirotalksfu_default_secret', +} +``` + +Some examples demonstrating how to call the API: + ```bash # js node meeting.js @@ -29,7 +40,7 @@ Embedding a meeting into a `service` or `app` requires using an `iframe` with th ```html ``` diff --git a/package.json b/package.json index 09c085ae..adda0580 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,8 @@ "author": "Miroslav Pejic", "license": "AGPL-3.0", "dependencies": { - "@sentry/integrations": "7.59.2", - "@sentry/node": "7.59.2", + "@sentry/integrations": "7.60.0", + "@sentry/node": "7.60.0", "axios": "^1.4.0", "body-parser": "1.20.2", "colors": "1.4.0",