@videosdk.live/react-sdk 0.1.84 → 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.
@@ -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;
@@ -1156,8 +1159,10 @@ export function createScreenShareVideoTrack({
1156
1159
  export function getNetworkStats({
1157
1160
  timeoutDuration
1158
1161
  }?: {
1159
- timeoutDuration?: number | undefined;
1160
- }): Promise<{ downloadSpeed: number; uploadSpeed: number }>;
1162
+ timeoutDuration?:
1163
+ | number
1164
+ | undefined;
1165
+ }): Promise<{ downloadSpeed: number, uploadSpeed: number }>;
1161
1166
 
1162
1167
  export const Constants: {
1163
1168
  errors: {
@@ -1187,6 +1192,25 @@ export const Constants: {
1187
1192
  ERROR_GET_VIDEO_MEDIA_PERMISSION_DENIED: number;
1188
1193
  ERROR_GET_AUDIO_MEDIA_PERMISSION_DENIED: number;
1189
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;
1190
1214
  };
1191
1215
  recordingEvents: {
1192
1216
  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.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.81",
76
+ "@videosdk.live/js-sdk": "0.0.82",
77
77
  "events": "^3.3.0"
78
78
  }
79
79
  }