瀏覽代碼

add jsdocs, update API description

dev1
isymchych 10 年之前
父節點
當前提交
72e242e514
共有 3 個檔案被更改,包括 550 行新增705 行删除
  1. 3
    0
      JitsiConferenceEvents.js
  2. 3
    0
      doc/API.md
  3. 544
    705
      lib-jitsi-meet.js

+ 3
- 0
JitsiConferenceEvents.js 查看文件

@@ -76,6 +76,9 @@ var JitsiConferenceEvents = {
76 76
      * Indicates that conference has been left.
77 77
      */
78 78
     CONFERENCE_LEFT: "conference.left",
79
+    /**
80
+     * Indicates that DTMF support changed.
81
+     */
79 82
     DTMF_SUPPORT_CHANGED: "conference.dtmf_support_changed"
80 83
 };
81 84
 

+ 3
- 0
doc/API.md 查看文件

@@ -77,6 +77,7 @@ JitsiMeetJS.setLogLevel(JitsiMeetJS.logLevels.ERROR);
77 77
         - IN_LAST_N_CHANGED - passes boolean property that shows whether the local user is included in last n set of any other user or not. (parameters - boolean)
78 78
         - CONFERENCE_JOINED - notifies the local user that he joined the conference successfully. (no parameters)
79 79
         - CONFERENCE_LEFT - notifies the local user that he left the conference successfully. (no parameters)
80
+        - DTMF_SUPPORT_CHANGED - notifies if at least one user supports DTMF. (parameters - supports(boolean))
80 81
 
81 82
     2. connection
82 83
         - CONNECTION_FAILED - indicates that the server connection failed.
@@ -213,9 +214,11 @@ The object represents a conference. We have the following methods to control the
213 214
 
214 215
 17. addTrack(track) - Adds JitsiLocalTrack object to the conference.
215 216
     - track - the JitsiLocalTrack
217
+
216 218
 18. removeTrack(track) - Removes JitsiLocalTrack object to the conference.
217 219
     - track - the JitsiLocalTrack
218 220
 
221
+19. isDTMFSupported() - Check if at least one user supports DTMF.
219 222
 
220 223
 JitsiTrack
221 224
 ======

+ 544
- 705
lib-jitsi-meet.js
文件差異過大導致無法顯示
查看文件


Loading…
取消
儲存