[mirotalksfu] - extend api room password

هذا الالتزام موجود في:
Miroslav Pejic
2022-07-10 11:05:56 +02:00
الأصل 67c0e17133
التزام 2a8cd5577c
13 ملفات معدلة مع 85 إضافات و46 حذوفات

عرض الملف

@@ -2,6 +2,7 @@
$API_KEY = "mirotalksfu_default_secret";
$MIROTALK_URL = "https://sfu.mirotalk.com/api/v1/join";
// $MIROTALK_URL = "http://localhost:3010/api/v1/join";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $MIROTALK_URL);
@@ -16,12 +17,13 @@ $headers = [
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$data = array(
"room" => "test",
"name" => "mirotalksfu",
"audio" => true,
"video" => true,
"screen" => true,
"notify" => true,
"room" => "test",
"password" => false,
"name" => "mirotalksfu",
"audio" => true,
"video" => true,
"screen" => true,
"notify" => true,
);
$data_string = json_encode($data);