[mirotalk] - improvements + add Hetzner new sponsor!

This commit is contained in:
Miroslav Pejic
2022-06-13 09:38:39 +02:00
parent 3485504bb9
commit aaf5a60432
14 changed files with 195 additions and 16 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ python meeting.py
## Embed a meeting
Embedding a meeting into a `service` or `app` requires using an `iframe` with the `src` attribute specified as the `meeting` from `HTTP response`.
Embedding a meeting into a `service` or `app` requires using an `iframe` with the `src` attribute specified as the `meeting` from `HTTP response`. Change the iframe `src` with your own instance of MiroTalk.
```html
<iframe
+2 -1
View File
@@ -1,7 +1,8 @@
const fetch = require('node-fetch');
const API_KEY = 'mirotalk_default_secret';
// const MIROTALK_URL = "http://localhost:3000/api/v1/meeting";
// const MIROTALK_URL = 'http://localhost:3000/api/v1/meeting';
// const MIROTALK_URL = 'https://p2p.mirotalk.com/api/v1/meeting';
// const MIROTALK_URL = 'https://mirotalk.up.railway.app/api/v1/meeting';
const MIROTALK_URL = 'https://mirotalk.herokuapp.com/api/v1/meeting';
+1
View File
@@ -2,6 +2,7 @@
$API_KEY = "mirotalk_default_secret";
// $MIROTALK_URL = "http://localhost:3000/api/v1/meeting";
// $MIROTALK_URL = "https://p2p.mirotalk.com/api/v1/meeting";
// $MIROTALK_URL = "https://mirotalk.up.railway.app/api/v1/meeting";
$MIROTALK_URL = "https://mirotalk.herokuapp.com/api/v1/meeting";
+1
View File
@@ -3,6 +3,7 @@ import json
API_KEY = "mirotalk_default_secret"
# MIROTALK_URL = "http://localhost:3000/api/v1/meeting"
# MIROTALK_URL = "https://p2p.mirotalk.com/api/v1/meeting";
# MIROTALK_URL = "https://mirotalk.up.railway.app/api/v1/meeting"
MIROTALK_URL = "https://mirotalk.herokuapp.com/api/v1/meeting"
+3 -2
View File
@@ -2,8 +2,9 @@
API_KEY="mirotalk_default_secret"
# MIROTALK_URL="http://localhost:3000/api/v1/meeting"
# MIROTALK_URL=https://mirotalk.up.railway.app/api/v1/meeting
MIROTALK_URL=https://mirotalk.herokuapp.com/api/v1/meeting
# MIROTALK_URL="https://p2p.mirotalk.com/api/v1/meeting"
# MIROTALK_URL="https://mirotalk.up.railway.app/api/v1/meeting"
MIROTALK_URL="https://mirotalk.herokuapp.com/api/v1/meeting"
curl $MIROTALK_URL \
--header "authorization: $API_KEY" \