[mirotalksfu] - refactoring

هذا الالتزام موجود في:
Miroslav Pejic
2021-10-07 22:48:32 +02:00
الأصل b62a89bfa7
التزام 976ac95fc5
26 ملفات معدلة مع 59 إضافات و61 حذوفات

40
app/api/README.md Normal file
عرض الملف

@@ -0,0 +1,40 @@
![restAPI](restAPI.png)
## 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://localhost:3010/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://localhost:3010/newroom"
style="height: 100%; width: 100%; border: 0px;"
></iframe>
```