@videosdk.live/react-sdk 0.1.84 → 0.1.86

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.
@@ -59,6 +59,8 @@ import { Stream } from './stream';
59
59
  * ---
60
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.
61
61
  * ---
62
+ * @param config.debugMode - Enables users to view detailed error logs generated by our SDK directly on the VideoSDK's dashboard.
63
+ * ---
62
64
  * @param token -
63
65
  * - You can generate a token in two ways:
64
66
  *
@@ -95,6 +97,7 @@ export function MeetingProvider({
95
97
  mode?: 'CONFERENCE' | 'VIEWER';
96
98
  metaData?: object;
97
99
  defaultCamera?: 'front' | 'back';
100
+ debugMode: boolean;
98
101
  };
99
102
  token: string;
100
103
  joinWithoutUserInteraction?: boolean;
@@ -787,6 +790,18 @@ export function useMeeting({
787
790
  playbackHlsUrl: string;
788
791
  livestreamUrl: string;
789
792
  };
793
+ selectedCameraDevice?: {
794
+ deviceId: string;
795
+ groupId: string;
796
+ kind: 'videoinput';
797
+ label: string;
798
+ };
799
+ selectedMicrophoneDevice?: {
800
+ deviceId: string;
801
+ groupId: string;
802
+ kind: 'audioinput';
803
+ label: string;
804
+ };
790
805
  localScreenShareOn: boolean;
791
806
  connections: Map<string, Connection>;
792
807
  join: () => void;
@@ -1187,6 +1202,25 @@ export const Constants: {
1187
1202
  ERROR_GET_VIDEO_MEDIA_PERMISSION_DENIED: number;
1188
1203
  ERROR_GET_AUDIO_MEDIA_PERMISSION_DENIED: number;
1189
1204
  ERROR_GET_DISPLAY_MEDIA_PERMISSION_DENIED: number;
1205
+ ERROR_CAMERA_ACCESS_DENIED_OR_DISMISSED: number;
1206
+ ERROR_MICROPHONE_ACCESS_DENIED_OR_DISMISSED: number;
1207
+ ERROR_CAMERA_PERMISSION_DENIED_BY_OS: number;
1208
+ ERROR_MICROPHONE_PERMISSION_DENIED_BY_OS: number;
1209
+ ERROR_CAMERA_NOT_FOUND: number;
1210
+ ERROR_MICROPHONE_NOT_FOUND: number;
1211
+ ERROR_CAMERA_IN_USE: number;
1212
+ ERROR_MICROPHONE_IN_USE: number;
1213
+ ERROR_CAMERA_PERMISSION_OR_AUTOPLAY_ISSUE: number;
1214
+ ERROR_VIDEO_SOURCE_INITIATION_FAILED: number;
1215
+ ERROR_WEBCAM_TRACK_ENDED: number;
1216
+ ERROR_MICROPHONE_TRACK_ENDED: number;
1217
+ ERROR_INVALID_CUSTOM_VIDEO_TRACK: number;
1218
+ ERROR_INVALID_CUSTOM_AUDIO_TRACK: number;
1219
+ ERROR_CUSTOM_VIDEO_TRACK_ENDED: number;
1220
+ ERROR_CUSTOM_AUDIO_TRACK_ENDED: number;
1221
+ ERROR_CAMERA_ACCESS_UNAVAILABLE: number;
1222
+ ERROR_MICROPHONE_ACCESS_UNAVAILABLE: number;
1223
+ ERROR_ACTION_PERFORMED_BEFORE_MEETING_JOINED: number;
1190
1224
  };
1191
1225
  recordingEvents: {
1192
1226
  RECORDING_STARTING: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@videosdk.live/react-sdk",
3
- "version": "0.1.84",
3
+ "version": "0.1.86",
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.81",
76
+ "@videosdk.live/js-sdk": "0.0.83",
77
77
  "events": "^3.3.0"
78
78
  }
79
79
  }