vani-meeting-client 1.3.1 → 1.3.3

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,7 +216,11 @@ 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
- userMediaPayload.video.facingMode = this.cameraFacingMode;
219
+ if (this.cameraFacingMode === CameraFacingMode.Front) {
220
+ userMediaPayload.video.width = undefined;
221
+ userMediaPayload.video.height = undefined;
222
+ }
223
+ userMediaPayload.video.facingMode.ideal = this.cameraFacingMode;
220
224
  }
221
225
  }
222
226
  if (isAudioRequired) {
@@ -660,7 +660,6 @@ var SFUHandler = /** @class */ (function (_super) {
660
660
  };
661
661
  SFUHandler.prototype.onAudioVolumeChanged = function (data) {
662
662
  var _a, _b;
663
- console.log("onAudioVolumeChanged", data);
664
663
  if (data && data.message && data.message.userId) {
665
664
  var speakerId = data.message.userId;
666
665
  var participant = (_a = this.communicationHandler) === null || _a === void 0 ? void 0 : _a.participantByUserId(speakerId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",