浏览代码

doc: add documentation to some url params

efficient_tiling
Bettenbuk Zoltan 5 年前
父节点
当前提交
dff7d661ca
共有 2 个文件被更改,包括 11 次插入2 次删除
  1. 8
    0
      config.js
  2. 3
    2
      doc/api.md

+ 8
- 0
config.js 查看文件

@@ -451,6 +451,14 @@ var config = {
451 451
     // the menu has option to flip the locally seen video for local presentations
452 452
     // disableLocalVideoFlip: false,
453 453
 
454
+    // Mainly privacy related settings
455
+
456
+    // Disables all invite functions from the app (share, invite, dial out...etc)
457
+    // disableInviteFunctions: true,
458
+
459
+    // Disables storing the room name to the recents list
460
+    // doNotStoreRoom: true,
461
+
454 462
     // Deployment specific URLs.
455 463
     // deploymentUrls: {
456 464
     //    // If specified a 'Help' button will be displayed in the overflow menu with a link to the specified URL for

+ 3
- 2
doc/api.md 查看文件

@@ -85,14 +85,15 @@ const options = {
85 85
 const api = new JitsiMeetExternalAPI(domain, options);
86 86
  ```
87 87
 
88
-You can set the userInfo(email) for the call:
88
+You can set the userInfo(email, display name) for the call:
89 89
 
90 90
 ```javascript
91 91
 var domain = "meet.jit.si";
92 92
 var options = {
93 93
     ...
94 94
     userInfo: {
95
-        email: 'email@jitsiexamplemail.com'
95
+        email: 'email@jitsiexamplemail.com',
96
+        displayName: 'John Doe'
96 97
     }
97 98
 }
98 99
 var api = new JitsiMeetExternalAPI(domain, options);

正在加载...
取消
保存