@videosdk.live/react-sdk 0.1.83 → 0.1.85

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.
@@ -6,7 +6,12 @@
6
6
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
7
 
8
8
  import { Connection } from './connection';
9
- import { CameraDeviceInfo, DeviceInfo, MicrophoneDeviceInfo, PlaybackDeviceInfo } from './deviceInfo';
9
+ import {
10
+ CameraDeviceInfo,
11
+ DeviceInfo,
12
+ MicrophoneDeviceInfo,
13
+ PlaybackDeviceInfo
14
+ } from './deviceInfo';
10
15
  import { Permission } from './permission';
11
16
  import { Meeting } from './meeting';
12
17
  import { Participant } from './participant';
@@ -54,6 +59,8 @@ import { Stream } from './stream';
54
59
  * ---
55
60
  * @param config.defaultCamera - [For Mobile Browser] It sets the initial camera orientation. Use 'front' to initialize the camera with the front-facing (selfie) mode, or 'back' to initialize it with the rear-facing (main) mode.
56
61
  * ---
62
+ * @param config.debugMode - Enables users to view detailed error logs generated by our SDK directly on the VideoSDK's dashboard.
63
+ * ---
57
64
  * @param token -
58
65
  * - You can generate a token in two ways:
59
66
  *
@@ -64,7 +71,7 @@ import { Stream } from './stream';
64
71
  * - This is a boolean flag, when set to true, allows a participant to join a meeting directly without explicitly calling the join() function.
65
72
  *
66
73
  * - This is an OPTIONAL parameter. By default, it is set to false meaning, user has to manually call the join().
67
- *
74
+ *
68
75
  */
69
76
  export function MeetingProvider({
70
77
  children,
@@ -72,7 +79,7 @@ export function MeetingProvider({
72
79
  token,
73
80
  joinWithoutUserInteraction,
74
81
  reinitialiseMeetingOnConfigChange: _reinitialiseMeetingOnConfigChange,
75
- deviceInfo,
82
+ deviceInfo
76
83
  }: {
77
84
  children: any;
78
85
  config: {
@@ -90,6 +97,7 @@ export function MeetingProvider({
90
97
  mode?: 'CONFERENCE' | 'VIEWER';
91
98
  metaData?: object;
92
99
  defaultCamera?: 'front' | 'back';
100
+ debugMode: boolean;
93
101
  };
94
102
  token: string;
95
103
  joinWithoutUserInteraction?: boolean;
@@ -190,7 +198,7 @@ export function MeetingConsumer({
190
198
  onRecordingStateChanged,
191
199
  onLivestreamStateChanged,
192
200
  onMeetingStateChanged,
193
- onParticipantModeChanged,
201
+ onParticipantModeChanged
194
202
  }: {
195
203
  children: any;
196
204
  onParticipantJoined?: (participant: Participant) => void;
@@ -202,7 +210,7 @@ export function MeetingConsumer({
202
210
  participantId,
203
211
  name,
204
212
  allow,
205
- deny,
213
+ deny
206
214
  }: {
207
215
  participantId: string;
208
216
  name: string;
@@ -211,7 +219,7 @@ export function MeetingConsumer({
211
219
  }) => void;
212
220
  onEntryResponded?: ({
213
221
  participantId,
214
- decision,
222
+ decision
215
223
  }: {
216
224
  participantId: string;
217
225
  decision: string;
@@ -234,7 +242,7 @@ export function MeetingConsumer({
234
242
  onWebcamRequested?: ({
235
243
  participantId,
236
244
  accept,
237
- reject,
245
+ reject
238
246
  }: {
239
247
  participantId: string;
240
248
  accept: () => void;
@@ -243,7 +251,7 @@ export function MeetingConsumer({
243
251
  onMicRequested?: ({
244
252
  participantId,
245
253
  accept,
246
- reject,
254
+ reject
247
255
  }: {
248
256
  participantId: string;
249
257
  accept: () => void;
@@ -252,7 +260,7 @@ export function MeetingConsumer({
252
260
  onPinStateChanged?: ({
253
261
  participantId,
254
262
  state,
255
- pinnedBy,
263
+ pinnedBy
256
264
  }: {
257
265
  participantId: string;
258
266
  state: { share: boolean; cam: boolean };
@@ -268,50 +276,50 @@ export function MeetingConsumer({
268
276
  status,
269
277
  downstreamUrl,
270
278
  playbackHlsUrl,
271
- livestreamUrl,
279
+ livestreamUrl
272
280
  }: {
273
281
  status:
274
- | 'HLS_STARTING'
275
- | 'HLS_STARTED'
276
- | 'HLS_PLAYABLE'
277
- | 'HLS_STOPPING'
278
- | 'HLS_STOPPED';
282
+ | 'HLS_STARTING'
283
+ | 'HLS_STARTED'
284
+ | 'HLS_PLAYABLE'
285
+ | 'HLS_STOPPING'
286
+ | 'HLS_STOPPED';
279
287
  downstreamUrl?: string;
280
288
  playbackHlsUrl?: string;
281
289
  livestreamUrl?: string;
282
290
  }) => void;
283
291
  onRecordingStateChanged?: ({
284
- status,
292
+ status
285
293
  }: {
286
294
  status:
287
- | 'RECORDING_STARTING'
288
- | 'RECORDING_STARTED'
289
- | 'RECORDING_STOPPING'
290
- | 'RECORDING_STOPPED';
295
+ | 'RECORDING_STARTING'
296
+ | 'RECORDING_STARTED'
297
+ | 'RECORDING_STOPPING'
298
+ | 'RECORDING_STOPPED';
291
299
  }) => void;
292
300
  onLivestreamStateChanged?: ({
293
- status,
301
+ status
294
302
  }: {
295
303
  status:
296
- | 'LIVESTREAM_STARTING'
297
- | 'LIVESTREAM_STARTED'
298
- | 'LIVESTREAM_STOPPING'
299
- | 'LIVESTREAM_STOPPED';
304
+ | 'LIVESTREAM_STARTING'
305
+ | 'LIVESTREAM_STARTED'
306
+ | 'LIVESTREAM_STOPPING'
307
+ | 'LIVESTREAM_STOPPED';
300
308
  }) => void;
301
309
  onMeetingStateChanged?: ({
302
- state,
310
+ state
303
311
  }: {
304
312
  state:
305
- | 'CONNECTING'
306
- | 'CONNECTED'
307
- | 'FAILED'
308
- | 'DISCONNECTED'
309
- | 'CLOSING'
310
- | 'CLOSED';
313
+ | 'CONNECTING'
314
+ | 'CONNECTED'
315
+ | 'FAILED'
316
+ | 'DISCONNECTED'
317
+ | 'CLOSING'
318
+ | 'CLOSED';
311
319
  }) => void;
312
320
  onParticipantModeChanged?: ({
313
321
  participantId,
314
- mode,
322
+ mode
315
323
  }: {
316
324
  participantId: string;
317
325
  mode: 'CONFERENCE' | 'VIEWER';
@@ -335,19 +343,19 @@ export function MeetingConsumer({
335
343
  * ---
336
344
  * @returns This will returns methods and events associated with media devices and permissions. You can refer this [API Reference](https://docs.videosdk.live/react/api/sdk-reference/use-mediaDevice/introduction)
337
345
  */
338
- export function useMediaDevice(
339
- {
340
- onDeviceChanged,
341
- }?: {
342
- onDeviceChanged?: (devices: Promise<Array<DeviceInfo>>) => void;
343
- },
344
- ): {
346
+ export function useMediaDevice({
347
+ onDeviceChanged
348
+ }?: {
349
+ onDeviceChanged?: (devices: Promise<Array<DeviceInfo>>) => void;
350
+ }): {
345
351
  getDevices: () => Promise<Array<DeviceInfo>>;
346
352
  getCameras: () => Promise<Array<CameraDeviceInfo>>;
347
353
  getMicrophones: () => Promise<Array<MicrophoneDeviceInfo>>;
348
354
  getPlaybackDevices: () => Promise<Array<PlaybackDeviceInfo>>;
349
355
  checkPermissions: (permissions?: Permission) => Promise<Map<string, boolean>>;
350
- requestPermission: (permissions?: Permission) => Promise<Map<string, boolean>>;
356
+ requestPermission: (
357
+ permissions?: Permission
358
+ ) => Promise<Map<string, boolean>>;
351
359
  };
352
360
 
353
361
  /**
@@ -414,14 +422,14 @@ export function useParticipant(
414
422
  onStreamEnabled,
415
423
  onStreamDisabled,
416
424
  onMediaStatusChanged,
417
- onVideoQualityChanged,
425
+ onVideoQualityChanged
418
426
  }?: {
419
427
  onStreamDisabled?: (stream: Stream) => void;
420
428
  onStreamEnabled?: (stream: Stream) => void;
421
429
  onMediaStatusChanged?: ({
422
430
  kind,
423
431
  peerId,
424
- newStatus,
432
+ newStatus
425
433
  }: {
426
434
  kind: 'audio' | 'video';
427
435
  peerId: string;
@@ -430,13 +438,13 @@ export function useParticipant(
430
438
  onVideoQualityChanged?: ({
431
439
  peerId,
432
440
  prevQuality,
433
- currentQuality,
441
+ currentQuality
434
442
  }: {
435
443
  peerId: string;
436
444
  prevQuality: 'low' | 'med' | 'high';
437
445
  currentQuality: 'low' | 'med' | 'high';
438
446
  }) => void;
439
- },
447
+ }
440
448
  ): {
441
449
  displayName: string;
442
450
  participant: Participant;
@@ -463,13 +471,19 @@ export function useParticipant(
463
471
  enableWebcam: () => void;
464
472
  disableWebcam: () => void;
465
473
  remove: () => void;
466
- captureImage: ({ height, width }: { height?: number, width?: number }) => Promise<string | null>;
474
+ captureImage: ({
475
+ height,
476
+ width
477
+ }: {
478
+ height?: number;
479
+ width?: number;
480
+ }) => Promise<string | null>;
467
481
  pin: (data: 'SHARE_AND_CAM' | 'CAM' | 'SHARE') => void;
468
482
  unpin: (data: 'SHARE_AND_CAM' | 'CAM' | 'SHARE') => void;
469
483
  switchTo: ({
470
484
  meetingId,
471
485
  payload,
472
- token,
486
+ token
473
487
  }: {
474
488
  meetingId: string;
475
489
  payload: string;
@@ -626,7 +640,7 @@ export function useMeeting({
626
640
  onRecordingStateChanged,
627
641
  onLivestreamStateChanged,
628
642
  onMeetingStateChanged,
629
- onParticipantModeChanged,
643
+ onParticipantModeChanged
630
644
  }?: {
631
645
  onParticipantJoined?: (participant: Participant) => void;
632
646
  onParticipantLeft?: (participant: Participant) => void;
@@ -637,7 +651,7 @@ export function useMeeting({
637
651
  participantId,
638
652
  name,
639
653
  allow,
640
- deny,
654
+ deny
641
655
  }: {
642
656
  participantId: string;
643
657
  name: string;
@@ -646,7 +660,7 @@ export function useMeeting({
646
660
  }) => void;
647
661
  onEntryResponded?: ({
648
662
  participantId,
649
- decision,
663
+ decision
650
664
  }: {
651
665
  participantId: string;
652
666
  decision: string;
@@ -669,7 +683,7 @@ export function useMeeting({
669
683
  onWebcamRequested?: ({
670
684
  participantId,
671
685
  accept,
672
- reject,
686
+ reject
673
687
  }: {
674
688
  participantId: string;
675
689
  accept: () => void;
@@ -678,7 +692,7 @@ export function useMeeting({
678
692
  onMicRequested?: ({
679
693
  participantId,
680
694
  accept,
681
- reject,
695
+ reject
682
696
  }: {
683
697
  participantId: string;
684
698
  accept: () => void;
@@ -687,7 +701,7 @@ export function useMeeting({
687
701
  onPinStateChanged?: ({
688
702
  participantId,
689
703
  state,
690
- pinnedBy,
704
+ pinnedBy
691
705
  }: {
692
706
  participantId: string;
693
707
  state: { share: boolean; cam: boolean };
@@ -703,50 +717,50 @@ export function useMeeting({
703
717
  status,
704
718
  downstreamUrl,
705
719
  playbackHlsUrl,
706
- livestreamUrl,
720
+ livestreamUrl
707
721
  }: {
708
722
  status:
709
- | 'HLS_STARTING'
710
- | 'HLS_STARTED'
711
- | 'HLS_PLAYABLE'
712
- | 'HLS_STOPPING'
713
- | 'HLS_STOPPED';
723
+ | 'HLS_STARTING'
724
+ | 'HLS_STARTED'
725
+ | 'HLS_PLAYABLE'
726
+ | 'HLS_STOPPING'
727
+ | 'HLS_STOPPED';
714
728
  downstreamUrl?: string;
715
729
  playbackHlsUrl?: string;
716
730
  livestreamUrl?: string;
717
731
  }) => void;
718
732
  onRecordingStateChanged?: ({
719
- status,
733
+ status
720
734
  }: {
721
735
  status:
722
- | 'RECORDING_STARTING'
723
- | 'RECORDING_STARTED'
724
- | 'RECORDING_STOPPING'
725
- | 'RECORDING_STOPPED';
736
+ | 'RECORDING_STARTING'
737
+ | 'RECORDING_STARTED'
738
+ | 'RECORDING_STOPPING'
739
+ | 'RECORDING_STOPPED';
726
740
  }) => void;
727
741
  onLivestreamStateChanged?: ({
728
- status,
742
+ status
729
743
  }: {
730
744
  status:
731
- | 'LIVESTREAM_STARTING'
732
- | 'LIVESTREAM_STARTED'
733
- | 'LIVESTREAM_STOPPING'
734
- | 'LIVESTREAM_STOPPED';
745
+ | 'LIVESTREAM_STARTING'
746
+ | 'LIVESTREAM_STARTED'
747
+ | 'LIVESTREAM_STOPPING'
748
+ | 'LIVESTREAM_STOPPED';
735
749
  }) => void;
736
750
  onMeetingStateChanged?: ({
737
- state,
751
+ state
738
752
  }: {
739
753
  state:
740
- | 'CONNECTING'
741
- | 'CONNECTED'
742
- | 'FAILED'
743
- | 'DISCONNECTED'
744
- | 'CLOSING'
745
- | 'CLOSED';
754
+ | 'CONNECTING'
755
+ | 'CONNECTED'
756
+ | 'FAILED'
757
+ | 'DISCONNECTED'
758
+ | 'CLOSING'
759
+ | 'CLOSED';
746
760
  }) => void;
747
761
  onParticipantModeChanged?: ({
748
762
  participantId,
749
- mode,
763
+ mode
750
764
  }: {
751
765
  participantId: string;
752
766
  mode: 'CONFERENCE' | 'VIEWER';
@@ -803,7 +817,7 @@ export function useMeeting({
803
817
  theme: 'DEFAULT' | 'DARK' | 'LIGHT';
804
818
  quality: 'low' | 'med' | 'high';
805
819
  mode: 'video-and-audio' | 'audio';
806
- },
820
+ }
807
821
  ) => void;
808
822
  stopRecording: () => void;
809
823
  startLiveStream: (
@@ -818,7 +832,7 @@ export function useMeeting({
818
832
  gridSize: number;
819
833
  };
820
834
  theme: 'DEFAULT' | 'DARK' | 'LIGHT';
821
- },
835
+ }
822
836
  ) => void;
823
837
  stopLiveStream: () => void;
824
838
  startHls: (config?: {
@@ -856,7 +870,7 @@ export function useMeeting({
856
870
  seekVideo: ({ currentTime }: { currentTime: number }) => void;
857
871
  connectTo: ({
858
872
  meetingId,
859
- payload,
873
+ payload
860
874
  }: {
861
875
  meetingId: string;
862
876
  payload: string;
@@ -895,7 +909,7 @@ export function usePubSub(
895
909
  topic: string,
896
910
  {
897
911
  onMessageReceived,
898
- onOldMessagesReceived,
912
+ onOldMessagesReceived
899
913
  }?: {
900
914
  onMessageReceived?: (message: {
901
915
  id: string;
@@ -915,20 +929,20 @@ export function usePubSub(
915
929
  timestamp: string;
916
930
  topic: string;
917
931
  payload: object;
918
- }>,
932
+ }>
919
933
  ) => void;
920
- },
934
+ }
921
935
  ): {
922
936
  publish: (
923
937
  message: string,
924
938
  {
925
939
  persist,
926
- sendOnly,
940
+ sendOnly
927
941
  }: {
928
942
  persist: boolean;
929
943
  sendOnly?: Array<String>;
930
944
  },
931
- payload?: object,
945
+ payload?: object
932
946
  ) => void;
933
947
  messages: Array<{
934
948
  id: string;
@@ -942,19 +956,25 @@ export function usePubSub(
942
956
  };
943
957
 
944
958
  export function useFile(): {
945
- uploadBase64File: ({ base64Data, token, fileName }: {
959
+ uploadBase64File: ({
960
+ base64Data,
961
+ token,
962
+ fileName
963
+ }: {
946
964
  base64Data: string;
947
965
  token: string;
948
966
  fileName: string;
949
967
  }) => Promise<string | null>;
950
968
 
951
- fetchBase64File: ({ url, token }: {
969
+ fetchBase64File: ({
970
+ url,
971
+ token
972
+ }: {
952
973
  url: string;
953
974
  token: string;
954
975
  }) => Promise<string | null>;
955
976
  };
956
977
 
957
-
958
978
  /**
959
979
  * @param microphoneId - It will be the id of the mic from which the audio should be captured.
960
980
  * ---
@@ -990,23 +1010,23 @@ export function useFile(): {
990
1010
  export function createMicrophoneAudioTrack({
991
1011
  noiseConfig,
992
1012
  encoderConfig,
993
- microphoneId,
1013
+ microphoneId
994
1014
  }: {
995
1015
  noiseConfig?:
996
- | {
997
- echoCancellation: boolean;
998
- autoGainControl: boolean;
999
- noiseSuppression: boolean;
1000
- }
1001
- | undefined;
1016
+ | {
1017
+ echoCancellation: boolean;
1018
+ autoGainControl: boolean;
1019
+ noiseSuppression: boolean;
1020
+ }
1021
+ | undefined;
1002
1022
  encoderConfig?:
1003
- | 'speech_low_quality'
1004
- | 'speech_standard'
1005
- | 'music_standard'
1006
- | 'standard_stereo'
1007
- | 'high_quality'
1008
- | 'high_quality_stereo'
1009
- | undefined;
1023
+ | 'speech_low_quality'
1024
+ | 'speech_standard'
1025
+ | 'music_standard'
1026
+ | 'standard_stereo'
1027
+ | 'high_quality'
1028
+ | 'high_quality_stereo'
1029
+ | undefined;
1010
1030
  microphoneId?: string | undefined;
1011
1031
  }): Promise<MediaStream>;
1012
1032
 
@@ -1049,29 +1069,29 @@ export function createCameraVideoTrack({
1049
1069
  encoderConfig,
1050
1070
  facingMode,
1051
1071
  optimizationMode,
1052
- multiStream,
1072
+ multiStream
1053
1073
  }: {
1054
1074
  cameraId?: string | undefined;
1055
1075
  encoderConfig?:
1056
- | 'h90p_w160p'
1057
- | 'h180p_w320p'
1058
- | 'h216p_w384p'
1059
- | 'h360p_w640p'
1060
- | 'h540p_w960p'
1061
- | 'h720p_w1280p'
1062
- | 'h1080p_w1920p'
1063
- | 'h1440p_w2560p'
1064
- | 'h2160p_w3840p'
1065
- | 'h120p_w160p'
1066
- | 'h180p_w240p'
1067
- | 'h240p_w320p'
1068
- | 'h360p_w480p'
1069
- | 'h480p_w640p'
1070
- | 'h540p_w720p'
1071
- | 'h720p_w960p'
1072
- | 'h1080p_w1440p'
1073
- | 'h1440p_w1920p'
1074
- | undefined;
1076
+ | 'h90p_w160p'
1077
+ | 'h180p_w320p'
1078
+ | 'h216p_w384p'
1079
+ | 'h360p_w640p'
1080
+ | 'h540p_w960p'
1081
+ | 'h720p_w1280p'
1082
+ | 'h1080p_w1920p'
1083
+ | 'h1440p_w2560p'
1084
+ | 'h2160p_w3840p'
1085
+ | 'h120p_w160p'
1086
+ | 'h180p_w240p'
1087
+ | 'h240p_w320p'
1088
+ | 'h360p_w480p'
1089
+ | 'h480p_w640p'
1090
+ | 'h540p_w720p'
1091
+ | 'h720p_w960p'
1092
+ | 'h1080p_w1440p'
1093
+ | 'h1440p_w1920p'
1094
+ | undefined;
1075
1095
  facingMode?: 'user' | 'environment' | undefined;
1076
1096
  optimizationMode?: 'text' | 'motion' | 'detail' | undefined;
1077
1097
  multiStream?: boolean;
@@ -1106,15 +1126,15 @@ export function createCameraVideoTrack({
1106
1126
  export function createScreenShareVideoTrack({
1107
1127
  encoderConfig,
1108
1128
  optimizationMode,
1109
- withAudio,
1129
+ withAudio
1110
1130
  }: {
1111
1131
  encoderConfig?:
1112
- | 'h360p_30fps'
1113
- | 'h720p_5fps'
1114
- | 'h720p_15fps'
1115
- | 'h1080p_15fps'
1116
- | 'h1080p_30fps'
1117
- | undefined;
1132
+ | 'h360p_30fps'
1133
+ | 'h720p_5fps'
1134
+ | 'h720p_15fps'
1135
+ | 'h1080p_15fps'
1136
+ | 'h1080p_30fps'
1137
+ | undefined;
1118
1138
  optimizationMode?: 'text' | 'motion' | 'detail' | undefined;
1119
1139
  withAudio?: 'enable' | 'disable';
1120
1140
  }): Promise<MediaStream>;
@@ -1127,7 +1147,7 @@ export function createScreenShareVideoTrack({
1127
1147
  * import { getNetworkStats } from "@videosdk.live/react-sdk";
1128
1148
  *
1129
1149
  * try{
1130
- * const options = { timeoutDuration: 45000 };
1150
+ * const options = { timeoutDuration: 45000 };
1131
1151
  * const networkStats = await VideoSDK.getNetworkStats(options);
1132
1152
  * console.log("networkStats", networkStats);
1133
1153
  * }catch(Ex)
@@ -1142,7 +1162,7 @@ export function getNetworkStats({
1142
1162
  timeoutDuration?:
1143
1163
  | number
1144
1164
  | undefined;
1145
- }): Promise<{downloadSpeed: number,uploadSpeed: number}>;
1165
+ }): Promise<{ downloadSpeed: number, uploadSpeed: number }>;
1146
1166
 
1147
1167
  export const Constants: {
1148
1168
  errors: {
@@ -1172,6 +1192,25 @@ export const Constants: {
1172
1192
  ERROR_GET_VIDEO_MEDIA_PERMISSION_DENIED: number;
1173
1193
  ERROR_GET_AUDIO_MEDIA_PERMISSION_DENIED: number;
1174
1194
  ERROR_GET_DISPLAY_MEDIA_PERMISSION_DENIED: number;
1195
+ ERROR_CAMERA_ACCESS_DENIED_OR_DISMISSED: number;
1196
+ ERROR_MICROPHONE_ACCESS_DENIED_OR_DISMISSED: number;
1197
+ ERROR_CAMERA_PERMISSION_DENIED_BY_OS: number;
1198
+ ERROR_MICROPHONE_PERMISSION_DENIED_BY_OS: number;
1199
+ ERROR_CAMERA_NOT_FOUND: number;
1200
+ ERROR_MICROPHONE_NOT_FOUND: number;
1201
+ ERROR_CAMERA_IN_USE: number;
1202
+ ERROR_MICROPHONE_IN_USE: number;
1203
+ ERROR_CAMERA_PERMISSION_OR_AUTOPLAY_ISSUE: number;
1204
+ ERROR_VIDEO_SOURCE_INITIATION_FAILED: number;
1205
+ ERROR_WEBCAM_TRACK_ENDED: number;
1206
+ ERROR_MICROPHONE_TRACK_ENDED: number;
1207
+ ERROR_INVALID_CUSTOM_VIDEO_TRACK: number;
1208
+ ERROR_INVALID_CUSTOM_AUDIO_TRACK: number;
1209
+ ERROR_CUSTOM_VIDEO_TRACK_ENDED: number;
1210
+ ERROR_CUSTOM_AUDIO_TRACK_ENDED: number;
1211
+ ERROR_CAMERA_ACCESS_UNAVAILABLE: number;
1212
+ ERROR_MICROPHONE_ACCESS_UNAVAILABLE: number;
1213
+ ERROR_ACTION_PERFORMED_BEFORE_MEETING_JOINED: number;
1175
1214
  };
1176
1215
  recordingEvents: {
1177
1216
  RECORDING_STARTING: string;
@@ -1202,3 +1241,4 @@ export const Constants: {
1202
1241
  AUDIO_AND_VIDEO: Permission;
1203
1242
  };
1204
1243
  };
1244
+ export { CameraDeviceInfo, DeviceInfo, MicrophoneDeviceInfo };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@videosdk.live/react-sdk",
3
- "version": "0.1.83",
3
+ "version": "0.1.85",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.modern.js",
@@ -73,7 +73,7 @@
73
73
  }
74
74
  },
75
75
  "dependencies": {
76
- "@videosdk.live/js-sdk": "0.0.80",
76
+ "@videosdk.live/js-sdk": "0.0.82",
77
77
  "events": "^3.3.0"
78
78
  }
79
79
  }