Bläddra i källkod

fix(chore) typos and jsdoc

dev1
Jorge Oliveira 2 år sedan
förälder
incheckning
669dbcbbbc

+ 1
- 1
modules/RTC/TraceablePeerConnection.js Visa fil

@@ -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 Visa fil

@@ -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 Visa fil

@@ -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) {

Laddar…
Avbryt
Spara