|
|
@@ -86,8 +86,8 @@ function JitsiTrack(conference, stream, track, streamInactiveHandler, trackMedia
|
|
86
|
86
|
/**
|
|
87
|
87
|
* Sets handler to the WebRTC MediaStream or MediaStreamTrack object depending
|
|
88
|
88
|
* on the passed type.
|
|
89
|
|
- * @param type {string} the type of the handler that is going to be set
|
|
90
|
|
- * @param handler {Function} the handler.
|
|
|
89
|
+ * @param {string} type the type of the handler that is going to be set
|
|
|
90
|
+ * @param {Function} handler the handler.
|
|
91
|
91
|
*/
|
|
92
|
92
|
JitsiTrack.prototype._setHandler = function (type, handler) {
|
|
93
|
93
|
if(this.stream) {
|
|
|
@@ -104,7 +104,7 @@ JitsiTrack.prototype._setHandler = function (type, handler) {
|
|
104
|
104
|
/**
|
|
105
|
105
|
* Sets the stream property of JitsiTrack object and sets all stored handlers
|
|
106
|
106
|
* to it.
|
|
107
|
|
- * @param stream {MediaStream} the new stream.
|
|
|
107
|
+ * @param {MediaStream} stream the new stream.
|
|
108
|
108
|
*/
|
|
109
|
109
|
JitsiTrack.prototype._setStream = function (stream) {
|
|
110
|
110
|
this.stream = stream;
|