@videosdk.live/react-sdk 0.1.85 → 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.
@@ -790,6 +790,18 @@ export function useMeeting({
790
790
  playbackHlsUrl: string;
791
791
  livestreamUrl: string;
792
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
+ };
793
805
  localScreenShareOn: boolean;
794
806
  connections: Map<string, Connection>;
795
807
  join: () => void;
@@ -1159,10 +1171,8 @@ export function createScreenShareVideoTrack({
1159
1171
  export function getNetworkStats({
1160
1172
  timeoutDuration
1161
1173
  }?: {
1162
- timeoutDuration?:
1163
- | number
1164
- | undefined;
1165
- }): Promise<{ downloadSpeed: number, uploadSpeed: number }>;
1174
+ timeoutDuration?: number | undefined;
1175
+ }): Promise<{ downloadSpeed: number; uploadSpeed: number }>;
1166
1176
 
1167
1177
  export const Constants: {
1168
1178
  errors: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@videosdk.live/react-sdk",
3
- "version": "0.1.85",
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.82",
76
+ "@videosdk.live/js-sdk": "0.0.83",
77
77
  "events": "^3.3.0"
78
78
  }
79
79
  }