[mirotalk] - back to heroku

This commit is contained in:
Miroslav Pejic
2022-06-10 09:35:09 +02:00
parent e9d214ef62
commit ca99decb5a
6 changed files with 9 additions and 16 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ Embedding a meeting into a `service` or `app` requires using an `iframe` with th
```html
<iframe
allow="camera; microphone; fullscreen; display-capture; autoplay"
src="https://p2p.mirotalk.org/join/room_name"
src="https://mirotalk.herokuapp.com/join/room_name"
style="height: 100%; width: 100%; border: 0px;"
></iframe>
```
@@ -35,7 +35,7 @@ Develop your `website` or `application`, and bring `video meetings` in with a si
```html
<iframe
allow="camera; microphone; fullscreen; display-capture; autoplay"
src="https://p2p.mirotalk.org/newcall"
src="https://mirotalk.herokuapp.com/newcall"
style="height: 100%; width: 100%; border: 0px;"
></iframe>
```
+1 -2
View File
@@ -2,9 +2,8 @@ const fetch = require('node-fetch');
const API_KEY = 'mirotalk_default_secret';
// const MIROTALK_URL = "http://localhost:3000/api/v1/meeting";
// const MIROTALK_URL = "https://mirotalk.herokuapp.com/api/v1/meeting";
// const MIROTALK_URL = 'https://mirotalk.up.railway.app/api/v1/meeting';
const MIROTALK_URL = 'https://p2p.mirotalk.org/api/v1/meeting';
const MIROTALK_URL = 'https://mirotalk.herokuapp.com/api/v1/meeting';
function getResponse() {
return fetch(MIROTALK_URL, {
+2 -2
View File
@@ -2,9 +2,9 @@
$API_KEY = "mirotalk_default_secret";
// $MIROTALK_URL = "http://localhost:3000/api/v1/meeting";
// $MIROTALK_URL = "https://mirotalk.herokuapp.com/api/v1/meeting";
// $MIROTALK_URL = "https://mirotalk.up.railway.app/api/v1/meeting";
$MIROTALK_URL = "https://p2p.mirotalk.org/api/v1/meeting";
$MIROTALK_URL = "https://mirotalk.herokuapp.com/api/v1/meeting";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $MIROTALK_URL);
+1 -2
View File
@@ -3,9 +3,8 @@ import json
API_KEY = "mirotalk_default_secret"
# MIROTALK_URL = "http://localhost:3000/api/v1/meeting"
# MIROTALK_URL = "https://mirotalk.herokuapp.com/api/v1/meeting"
# MIROTALK_URL = "https://mirotalk.up.railway.app/api/v1/meeting"
MIROTALK_URL = "https://p2p.mirotalk.org/api/v1/meeting"
MIROTALK_URL = "https://mirotalk.herokuapp.com/api/v1/meeting"
headers = {
"authorization": API_KEY,
+1 -2
View File
@@ -2,9 +2,8 @@
API_KEY="mirotalk_default_secret"
# MIROTALK_URL="http://localhost:3000/api/v1/meeting"
# MIROTALK_URL=https://mirotalk.herokuapp.com/api/v1/meeting
# MIROTALK_URL=https://mirotalk.up.railway.app/api/v1/meeting
MIROTALK_URL=https://p2p.mirotalk.org/api/v1/meeting
MIROTALK_URL=https://mirotalk.herokuapp.com/api/v1/meeting
curl $MIROTALK_URL \
--header "authorization: $API_KEY" \