@videosdk.live/react-sdk 0.1.79 → 0.1.81

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.
@@ -50,6 +50,8 @@ import { Stream } from './stream';
50
50
  * ---
51
51
  * @param config.customMicrophoneAudioTrack - Set the initial custom audio track using different encoding parameters and optimization mode.
52
52
  * ---
53
+ * @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.
54
+ * ---
53
55
  * @param token -
54
56
  * - You can generate a token in two ways:
55
57
  *
@@ -60,7 +62,7 @@ import { Stream } from './stream';
60
62
  * - This is a boolean flag, when set to true, allows a participant to join a meeting directly without explicitly calling the join() function.
61
63
  *
62
64
  * - This is an OPTIONAL parameter. By default, it is set to false meaning, user has to manually call the join().
63
- *
65
+ *
64
66
  */
65
67
  export function MeetingProvider({
66
68
  children,
@@ -85,6 +87,7 @@ export function MeetingProvider({
85
87
  multiStream?: boolean;
86
88
  mode?: 'CONFERENCE' | 'VIEWER';
87
89
  metaData?: object;
90
+ defaultCamera?: 'front' | 'back';
88
91
  };
89
92
  token: string;
90
93
  joinWithoutUserInteraction?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@videosdk.live/react-sdk",
3
- "version": "0.1.79",
3
+ "version": "0.1.81",
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.75",
76
+ "@videosdk.live/js-sdk": "0.0.78",
77
77
  "events": "^3.3.0"
78
78
  }
79
79
  }