vani-meeting-client 1.6.9 → 1.7.0

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.
@@ -225,14 +225,14 @@ var UserMediaHandler = /** @class */ (function (_super) {
225
225
  case 4:
226
226
  isAudioRequired = (isAudioRequired && audioInDevices.length > 0);
227
227
  isVideoRequired = (isVideoRequired && cameraDevices.length > 0);
228
- if (isAudioRequired && isVideoRequired) {
229
- if (audioInDevices[0].id.length > 0 && cameraDevices[0].id.length === 0) {
230
- isVideoRequired = false;
231
- }
232
- else if (audioInDevices[0].id.length === 0 && cameraDevices[0].id.length > 0) {
233
- isAudioRequired = false;
234
- }
235
- }
228
+ // if (isAudioRequired && isVideoRequired) {
229
+ // if (audioInDevices![0].id.length > 0 && cameraDevices![0].id.length === 0) {
230
+ // isVideoRequired = false;
231
+ // }
232
+ // else if (audioInDevices![0].id.length === 0 && cameraDevices![0].id.length > 0) {
233
+ // isAudioRequired = false;
234
+ // }
235
+ // }
236
236
  this.startCapturingStream(isVideoRequired, isAudioRequired, shouldAddTrackImmediately, userMediaPayload);
237
237
  return [2 /*return*/];
238
238
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "1.6.9",
3
+ "version": "1.7.0",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",