الملفات
codepill-sfu/app/api/join/join.sh
2022-05-20 21:40:11 +02:00

10 أسطر
332 B
Bash
ملف تنفيذي

#!/bin/bash
API_KEY="mirotalksfu_default_secret"
MIROTALK_URL="https://sfu.mirotalk.org/api/v1/join"
curl $MIROTALK_URL \
--header "authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"room":"test","name":"mirotalksfu","audio":"1","video":"1","screen":"1""notify":"1"}' \
--request POST