[mirotalk] - refactoring

This commit is contained in:
Miroslav Pejic
2021-10-08 00:50:56 +02:00
parent 1f51d88b99
commit 59665d0ad5
73 changed files with 65 additions and 67 deletions
+40
View File
@@ -0,0 +1,40 @@
[![restAPI](restAPI.png)](https://mirotalk.up.railway.app/api/v1/docs)
## Create a meeting
Create a meeting with a `HTTP request` containing the `API_KEY` sent to MiroTalks server. The response contains a `meeting` URL that can be `embedded` in your client within an `iframe`.
```bash
# js
node meeting.js
# php
php meeting.php
# python
python meeting.py
# bash
./meeting.sh
```
## 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`.
```html
<iframe
allow="camera; microphone; fullscreen; display-capture; autoplay"
src="https://mirotalk.up.railway.app/join/room_name"
style="height: 100%; width: 100%; border: 0px;"
></iframe>
```
## Fast Integration
Develop your `website` or `application`, and bring `video meetings` in with a simple `iframe`.
```html
<iframe
allow="camera; microphone; fullscreen; display-capture; autoplay"
src="https://mirotalk.up.railway.app/newcall"
style="height: 100%; width: 100%; border: 0px;"
></iframe>
```