From 8c10756cdc008ea0a7c51d0d4ae44a8ae9d9cd7f Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Thu, 9 Jun 2022 12:39:17 +0200 Subject: [PATCH] [mirotalk] - add new domain p2p.mirotalk.org --- README.md | 16 ++++++++++------ app/api/README.md | 6 +++--- app/api/meeting/meeting.js | 3 ++- app/api/meeting/meeting.php | 3 ++- app/api/meeting/meeting.py | 3 ++- app/api/meeting/meeting.sh | 3 ++- app/src/server.js | 2 +- public/js/client.js | 2 +- public/view/404.html | 4 ++-- public/view/about.html | 4 ++-- public/view/client.html | 4 ++-- public/view/landing.html | 4 ++-- public/view/newcall.html | 4 ++-- public/view/permission.html | 4 ++-- public/view/privacy.html | 4 ++-- 15 files changed, 37 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index de006b30..b03662e6 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,13 @@

- mirotalk.up.railway.app or mirotalk.herokuapp.com + p2p.mirotalk.org


- +


@@ -63,7 +63,9 @@
-- `Open` https://mirotalk.up.railway.app/newcall or https://mirotalk.herokuapp.com/newcall +- `Open` https://p2p.mirotalk.org/newcall or +- https://mirotalk.up.railway.app/newcall or +- https://mirotalk.herokuapp.com/newcall - `Pick` your Room name and Join - `Allow` using the camera and microphone - `Share` the Room URL and Wait for someone to join for the video conference @@ -76,6 +78,7 @@
- You can `join` directly to `room` by going to: +- https://p2p.mirotalk.org/join?room=test&name=mirotalk&audio=0&video=0&screen=0¬ify=0 - https://mirotalk.up.railway.app/join?room=test&name=mirotalk&audio=0&video=0&screen=0¬ify=0 - https://mirotalk.herokuapp.com/join?room=test&name=mirotalk&audio=0&video=0&screen=0¬ify=0 @@ -100,7 +103,7 @@ Embedding a meeting into a service or app using an iframe. ```html ``` @@ -180,18 +183,19 @@ You can start videoconferencing directly from your Local PC, and be reachable fr ```bash # The response will give you a entrypoint / Room URL for your meeting, where authorization: API_KEY_SECRET. $ curl -X POST "http://localhost:3000/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json" +$ curl -X POST "https://p2p.mirotalk.org/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json" $ curl -X POST "https://mirotalk.up.railway.app/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json" $ curl -X POST "https://mirotalk.herokuapp.com/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json" ``` ## API Documentation -The API documentation uses [swagger](https://swagger.io/) at http://localhost:3000/api/v1/docs. Or check it out on [railway](https://mirotalk.up.railway.app/api/v1/docs) & [heroku](https://mirotalk.herokuapp.com/api/v1/docs). +The API documentation uses [swagger](https://swagger.io/) at http://localhost:3000/api/v1/docs. Or check it out on [live](https://p2p.mirotalk.org/api/v1/docs) & [heroku](https://mirotalk.herokuapp.com/api/v1/docs).
-Live Demo +Other Live Demo
diff --git a/app/api/README.md b/app/api/README.md index 07cba63c..51d83a43 100644 --- a/app/api/README.md +++ b/app/api/README.md @@ -1,4 +1,4 @@ -[![restAPI](restAPI.png)](https://mirotalk.up.railway.app/api/v1/docs) +[![restAPI](restAPI.png)](https://p2p.mirotalk.org/api/v1/docs) ## Create a meeting @@ -23,7 +23,7 @@ Embedding a meeting into a `service` or `app` requires using an `iframe` with th ```html ``` @@ -35,7 +35,7 @@ Develop your `website` or `application`, and bring `video meetings` in with a si ```html ``` diff --git a/app/api/meeting/meeting.js b/app/api/meeting/meeting.js index 925adba2..342087a8 100644 --- a/app/api/meeting/meeting.js +++ b/app/api/meeting/meeting.js @@ -3,7 +3,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://mirotalk.up.railway.app/api/v1/meeting'; +const MIROTALK_URL = 'https://p2p.mirotalk.org/api/v1/meeting'; function getResponse() { return fetch(MIROTALK_URL, { diff --git a/app/api/meeting/meeting.php b/app/api/meeting/meeting.php index 8e3c1a49..dff64a9b 100644 --- a/app/api/meeting/meeting.php +++ b/app/api/meeting/meeting.php @@ -3,7 +3,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://mirotalk.up.railway.app/api/v1/meeting"; +$MIROTALK_URL = "https://p2p.mirotalk.org/api/v1/meeting"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $MIROTALK_URL); diff --git a/app/api/meeting/meeting.py b/app/api/meeting/meeting.py index 95dbfe51..4e0d1ea0 100644 --- a/app/api/meeting/meeting.py +++ b/app/api/meeting/meeting.py @@ -4,7 +4,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://mirotalk.up.railway.app/api/v1/meeting" +MIROTALK_URL = "https://p2p.mirotalk.org/api/v1/meeting" headers = { "authorization": API_KEY, diff --git a/app/api/meeting/meeting.sh b/app/api/meeting/meeting.sh index a17c98e2..05c69a93 100755 --- a/app/api/meeting/meeting.sh +++ b/app/api/meeting/meeting.sh @@ -3,7 +3,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://mirotalk.up.railway.app/api/v1/meeting +MIROTALK_URL=https://p2p.mirotalk.org/api/v1/meeting curl $MIROTALK_URL \ --header "authorization: $API_KEY" \ diff --git a/app/src/server.js b/app/src/server.js index 848f473f..dfc281dd 100755 --- a/app/src/server.js +++ b/app/src/server.js @@ -26,7 +26,7 @@ dependencies: { * MiroTalk P2P - Server component * * @link GitHub: https://github.com/miroslavpejic85/mirotalk - * @link Live demo: https://mirotalk.up.railway.app or https://mirotalk.herokuapp.com + * @link Live demo: https://p2p.mirotalk.org or https://mirotalk.up.railway.app or https://mirotalk.herokuapp.com * @license For open source use: AGPLv3 * @license For commercial or closed source, contact us at info.mirotalk@gmail.com * @author Miroslav Pejic - miroslav.pejic.85@gmail.com diff --git a/public/js/client.js b/public/js/client.js index 01c23c0c..5056901a 100644 --- a/public/js/client.js +++ b/public/js/client.js @@ -10,7 +10,7 @@ * MiroTalk P2P - Client component * * @link GitHub: https://github.com/miroslavpejic85/mirotalk - * @link Live demo: https://mirotalk.up.railway.app or https://mirotalk.herokuapp.com + * @link Live demo: https://p2p.mirotalk.org or https://mirotalk.up.railway.app or https://mirotalk.herokuapp.com * @license For open source use: AGPLv3 * @license For commercial or closed source, contact us at info.mirotalk@gmail.com * @author Miroslav Pejic - miroslav.pejic.85@gmail.com diff --git a/public/view/404.html b/public/view/404.html index df75308f..f7c2509d 100644 --- a/public/view/404.html +++ b/public/view/404.html @@ -31,8 +31,8 @@ property="og:description" content="MiroTalk calling provides real-time HD quality and latency simply not available with traditional technology." /> - - + + diff --git a/public/view/about.html b/public/view/about.html index c4a90339..1a5514d7 100755 --- a/public/view/about.html +++ b/public/view/about.html @@ -40,8 +40,8 @@ property="og:description" content="MiroTalk calling provides real-time HD quality and latency simply not available with traditional technology." /> - - + + diff --git a/public/view/client.html b/public/view/client.html index 4f10d9f1..996eed22 100755 --- a/public/view/client.html +++ b/public/view/client.html @@ -38,8 +38,8 @@ - - + + diff --git a/public/view/landing.html b/public/view/landing.html index f3a4db94..3a0479ca 100755 --- a/public/view/landing.html +++ b/public/view/landing.html @@ -40,8 +40,8 @@ property="og:description" content="MiroTalk calling provides real-time HD quality and latency simply not available with traditional technology." /> - - + + diff --git a/public/view/newcall.html b/public/view/newcall.html index e9c017e5..62f7b463 100755 --- a/public/view/newcall.html +++ b/public/view/newcall.html @@ -40,8 +40,8 @@ property="og:description" content="MiroTalk calling provides real-time HD quality and latency simply not available with traditional technology." /> - - + + diff --git a/public/view/permission.html b/public/view/permission.html index 5e9d6b4a..86f77629 100644 --- a/public/view/permission.html +++ b/public/view/permission.html @@ -31,8 +31,8 @@ property="og:description" content="MiroTalk calling provides real-time HD quality and latency simply not available with traditional technology." /> - - + + diff --git a/public/view/privacy.html b/public/view/privacy.html index 69418dde..88a7290a 100755 --- a/public/view/privacy.html +++ b/public/view/privacy.html @@ -40,8 +40,8 @@ property="og:description" content="MiroTalk calling provides real-time HD quality and latency simply not available with traditional technology." /> - - + +