Ver código fonte

docs: Fixes spelling.

master
Boris Grozev 9 anos atrás
pai
commit
66a16cf85a

+ 4
- 4
JitsiConference.js Ver arquivo

@@ -1029,7 +1029,7 @@ JitsiConference.prototype.sendTones = function (tones, duration, pause) {
1029 1029
 };
1030 1030
 
1031 1031
 /**
1032
- * Returns true if the recording is supproted and false if not.
1032
+ * Returns true if recording is supported and false if not.
1033 1033
  */
1034 1034
 JitsiConference.prototype.isRecordingSupported = function () {
1035 1035
     if(this.room)
@@ -1148,7 +1148,7 @@ JitsiConference.prototype.setStartMutedPolicy = function (policy) {
1148 1148
 
1149 1149
 /**
1150 1150
  * Returns current start muted policy
1151
- * @returns {Object} with 2 proprties - audio and video.
1151
+ * @returns {Object} with 2 properties - audio and video.
1152 1152
  */
1153 1153
 JitsiConference.prototype.getStartMutedPolicy = function () {
1154 1154
     return this.startMutedPolicy;
@@ -1274,7 +1274,7 @@ JitsiConference.prototype._fireIncompatibleVersionsEvent = function () {
1274 1274
 };
1275 1275
 
1276 1276
 /**
1277
- * Sends message via the datachannels.
1277
+ * Sends a message via the data channel.
1278 1278
  * @param to {string} the id of the endpoint that should receive the message.
1279 1279
  * If "" the message will be sent to all participants.
1280 1280
  * @param payload {object} the payload of the message.
@@ -1285,7 +1285,7 @@ JitsiConference.prototype.sendEndpointMessage = function (to, payload) {
1285 1285
 };
1286 1286
 
1287 1287
 /**
1288
- * Sends broadcast message via the datachannels.
1288
+ * Sends a broadcast message via the data channel.
1289 1289
  * @param payload {object} the payload of the message.
1290 1290
  * @throws NetworkError or InvalidStateError or Error if the operation fails.
1291 1291
  */

+ 3
- 3
modules/RTC/JitsiLocalTrack.js Ver arquivo

@@ -19,7 +19,7 @@ var VideoType = require('../../service/RTC/VideoType');
19 19
  * @param track underlying WebRTC MediaStreamTrack for new JitsiRemoteTrack
20 20
  * @param mediaType the MediaType of the JitsiRemoteTrack
21 21
  * @param videoType the VideoType of the JitsiRemoteTrack
22
- * @param resolution the video resoultion if it's a video track
22
+ * @param resolution the video resolution if it's a video track
23 23
  * @param deviceId the ID of the local device for this track
24 24
  * @param facingMode the camera facing mode used in getUserMedia call
25 25
  * @constructor
@@ -544,7 +544,7 @@ JitsiLocalTrack.prototype.getDeviceId = function () {
544 544
 
545 545
 /**
546 546
  * Sets the value of bytes sent statistic.
547
- * @param bytesSent {intiger} the new value
547
+ * @param bytesSent {integer} the new value (FIXME: what is an integer in js?)
548 548
  * NOTE: used only for audio tracks to detect audio issues.
549 549
  */
550 550
 JitsiLocalTrack.prototype._setByteSent = function (bytesSent) {
@@ -628,7 +628,7 @@ JitsiLocalTrack.prototype._checkForCameraIssues = function () {
628 628
 };
629 629
 
630 630
 /**
631
- * Checks whether the attached MediaStream is reveiving data from source or
631
+ * Checks whether the attached MediaStream is receiving data from source or
632 632
  * not. If the stream property is null(because of mute or another reason) this
633 633
  * method will return false.
634 634
  * NOTE: This method doesn't indicate problem with the streams directly.

+ 1
- 1
modules/RTC/JitsiRemoteTrack.js Ver arquivo

@@ -19,7 +19,7 @@ var ttfmTrackerVideoAttached = false;
19 19
  * @param mediaType the MediaType of the JitsiRemoteTrack
20 20
  * @param videoType the VideoType of the JitsiRemoteTrack
21 21
  * @param ssrc the SSRC number of the Media Stream
22
- * @param muted intial muted state of the JitsiRemoteTrack
22
+ * @param muted initial muted state of the JitsiRemoteTrack
23 23
  * @constructor
24 24
  */
25 25
 function JitsiRemoteTrack(rtc, conference, ownerJid, stream, track, mediaType, videoType,

+ 3
- 3
modules/RTC/JitsiTrack.js Ver arquivo

@@ -135,7 +135,7 @@ JitsiTrack.prototype.getType = function() {
135 135
 };
136 136
 
137 137
 /**
138
- * Check if this is audiotrack.
138
+ * Check if this is an audio track.
139 139
  */
140 140
 JitsiTrack.prototype.isAudioTrack = function () {
141 141
     return this.getType() === MediaType.AUDIO;
@@ -152,7 +152,7 @@ JitsiTrack.prototype.isWebRTCTrackMuted = function () {
152 152
 };
153 153
 
154 154
 /**
155
- * Check if this is videotrack.
155
+ * Check if this is a video track.
156 156
  */
157 157
 JitsiTrack.prototype.isVideoTrack = function () {
158 158
     return this.getType() === MediaType.VIDEO;
@@ -329,7 +329,7 @@ JitsiTrack.prototype.getId = function () {
329 329
 };
330 330
 
331 331
 /**
332
- * Checks whether the MediaStream is avtive/not ended.
332
+ * Checks whether the MediaStream is active/not ended.
333 333
  * When there is no check for active we don't have information and so
334 334
  * will return that stream is active (in case of FF).
335 335
  * @returns {boolean} whether MediaStream is active.

Carregando…
Cancelar
Salvar