|
@@ -108,16 +108,18 @@ function JitsiLocalTrack(stream, track, mediaType, videoType, resolution,
|
108
|
108
|
RTCUtils.addListener(RTCEvents.DEVICE_LIST_CHANGED,
|
109
|
109
|
this._onDeviceListChanged);
|
110
|
110
|
|
111
|
|
- if(this.isVideoTrack() && this.videoType === VideoType.CAMERA) {
|
112
|
|
- this._setHandler("track_mute", () => {
|
113
|
|
- if(this._checkForCameraIssues())
|
114
|
|
- this.eventEmitter.emit(JitsiTrackEvents.NO_DATA_FROM_SOURCE);
|
115
|
|
- });
|
116
|
|
- this._setHandler("track_ended", () => {
|
117
|
|
- if(this._checkForCameraIssues())
|
118
|
|
- this.eventEmitter.emit(JitsiTrackEvents.NO_DATA_FROM_SOURCE);
|
119
|
|
- });
|
120
|
|
- }
|
|
111
|
+ // FIXME: Removed temporary until we verify that we don't fire the
|
|
112
|
+ // the event when the camera is working.
|
|
113
|
+ // if(this.isVideoTrack() && this.videoType === VideoType.CAMERA) {
|
|
114
|
+ // this._setHandler("track_mute", () => {
|
|
115
|
+ // if(this._checkForCameraIssues())
|
|
116
|
+ // this.eventEmitter.emit(JitsiTrackEvents.NO_DATA_FROM_SOURCE);
|
|
117
|
+ // });
|
|
118
|
+ // this._setHandler("track_ended", () => {
|
|
119
|
+ // if(this._checkForCameraIssues())
|
|
120
|
+ // this.eventEmitter.emit(JitsiTrackEvents.NO_DATA_FROM_SOURCE);
|
|
121
|
+ // });
|
|
122
|
+ // }
|
121
|
123
|
}
|
122
|
124
|
|
123
|
125
|
JitsiLocalTrack.prototype = Object.create(JitsiTrack.prototype);
|