Skip to content

Latest commit

History

History
55 lines (38 loc) 路 1.24 KB

README.md

File metadata and controls

55 lines (38 loc) 路 1.24 KB

restAPI

Create a Meeting

To initiate a meeting, send an HTTP request to MiroTalk鈥檚 server with your API key. Replace the default secret key in .env with your own.

API_KEY_SECRET=mirotalkbro_default_secret

Use the following examples to make API calls:

# Node.js
node join.js

# PHP
php join.php

# Python
python3 join.py

# Bash
./join.sh

The server response will contain a meeting URL that can be embedded in your client using an iframe.


Embed a Meeting

To embed a meeting in your service or app, use an iframe with the source attribute set to the meeting URL obtained from the HTTP response.

<iframe
    allow="camera; microphone; display-capture; fullscreen; clipboard-read; clipboard-write; autoplay"
    src="https://bro.mirotalk.com/broadcast?id=test&name=84885"
    style="height: 100vh; width: 100vw; border: 0px;"
></iframe>

Fast Integration

Integrate video meetings into your website or application quickly by incorporating the following iframe code:

<iframe
    allow="camera; microphone; display-capture; fullscreen; clipboard-read; clipboard-write; autoplay"
    src="https://bro.mirotalk.com/"
    style="height: 100vh; width: 100vw; border: 0px;"
></iframe>