浏览代码

fix(chore) typos and jsdoc

dev1
Jorge Oliveira 3 年前
父节点
当前提交
669dbcbbbc
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1
    1
      modules/RTC/TraceablePeerConnection.js
  2. 1
    1
      modules/statistics/SpeakerStats.js
  3. 1
    1
      modules/xmpp/RoomMetadata.ts

+ 1
- 1
modules/RTC/TraceablePeerConnection.js 查看文件

@@ -3110,7 +3110,7 @@ TraceablePeerConnection.prototype._processLocalSSRCsMap = function(ssrcMap) {
3110 3110
 
3111 3111
 /**
3112 3112
  * Track the SSRCs seen so far.
3113
- * @param {int} ssrc - SSRC.
3113
+ * @param {number} ssrc - SSRC.
3114 3114
  * @return {boolean} - Whether this is a new SSRC.
3115 3115
  */
3116 3116
 TraceablePeerConnection.prototype.addRemoteSsrc = function(ssrc) {

+ 1
- 1
modules/statistics/SpeakerStats.js 查看文件

@@ -86,7 +86,7 @@ class SpeakerStats {
86 86
     /**
87 87
      * Returns true if the tracked user is currently a dominant speaker.
88 88
      *
89
-     * @param {boolean} - If true, the user will being accumulating time
89
+     * @param {boolean} isNowDominantSpeaker - If true, the user will be accumulating time
90 90
      * as dominant speaker. If false, the user will not accumulate time
91 91
      * and will record any time accumulated since starting as dominant speaker.
92 92
      * @param {boolean} silence - Indecates whether the dominant speaker is silent or not.

+ 1
- 1
modules/xmpp/RoomMetadata.ts 查看文件

@@ -39,7 +39,7 @@ export default class RoomMetadata {
39 39
     /**
40 40
      * Sets metadata for the given key.
41 41
      *
42
-     * @param {string} key - key under which the  metadata will be stored.
42
+     * @param {string} key - key under which the metadata will be stored.
43 43
      * @param {object} data - data to be stored.
44 44
      */
45 45
     setMetadata(key, data) {

正在加载...
取消
保存