vani-meeting-client 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -216,11 +216,12 @@ var UserMediaHandler = /** @class */ (function (_super) {
|
|
|
216
216
|
if (!this.cameraFacingMode) {
|
|
217
217
|
this.cameraFacingMode = (_c = this.meetingStartRequest) === null || _c === void 0 ? void 0 : _c.defaultCameraFacingMode;
|
|
218
218
|
}
|
|
219
|
-
if (this.cameraFacingMode === CameraFacingMode.
|
|
220
|
-
userMediaPayload.video
|
|
221
|
-
|
|
219
|
+
if (this.cameraFacingMode === CameraFacingMode.Back) {
|
|
220
|
+
userMediaPayload.video = { facingMode: { ideal: this.cameraFacingMode } };
|
|
221
|
+
}
|
|
222
|
+
else {
|
|
223
|
+
userMediaPayload.video.facingMode.ideal = this.cameraFacingMode;
|
|
222
224
|
}
|
|
223
|
-
userMediaPayload.video.facingMode.ideal = this.cameraFacingMode;
|
|
224
225
|
}
|
|
225
226
|
}
|
|
226
227
|
if (isAudioRequired) {
|