[mirotalksfu] - add room duration

هذا الالتزام موجود في:
Miroslav Pejic
2025-01-03 10:06:51 +01:00
الأصل 0c1dad20f4
التزام b5d4a4239f
11 ملفات معدلة مع 95 إضافات و34 حذوفات

عرض الملف

@@ -24,6 +24,7 @@ async function getJoin() {
screen: true,
hide: false,
notify: true,
duration: 'unlimited',
token: {
username: 'username',
password: 'password',

عرض الملف

@@ -2,7 +2,7 @@
$API_KEY_SECRET = "mirotalksfu_default_secret";
$MIROTALK_URL = "https://sfu.mirotalk.com/api/v1/join";
// $MIROTALK_URL = "http://localhost:3010/api/v1/join";
//$MIROTALK_URL = "http://localhost:3010/api/v1/join";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $MIROTALK_URL);
@@ -25,6 +25,7 @@ $data = array(
"screen" => true,
"hide" => false,
"notify" => true,
"duration" => "unlimited",
"token" => array(
"username" => "username",
"password" => "password",

عرض الملف

@@ -20,6 +20,7 @@ data = {
"screen": "true",
"hide": "false",
"notify": "true",
"duration": "unlimited",
"token": {
"username": "username",
"password": "password",

عرض الملف

@@ -7,5 +7,5 @@ MIROTALK_URL="https://sfu.mirotalk.com/api/v1/join"
curl $MIROTALK_URL \
--header "authorization: $API_KEY_SECRET" \
--header "Content-Type: application/json" \
--data '{"room":"test","roomPassword":"false","name":"mirotalksfu","audio":"true","video":"true","screen":"false","hide":"false","notify":"true","token":{"username":"username","password":"password","presenter":"true", "expire":"1h"}}' \
--data '{"room":"test","roomPassword":"false","name":"mirotalksfu","audio":"true","video":"true","screen":"false","hide":"false","notify":"true","duration":"unlimited","token":{"username":"username","password":"password","presenter":"true", "expire":"1h"}}' \
--request POST