@videosdk.live/react-sdk 0.1.77 → 0.1.79

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.
@@ -63,6 +63,7 @@ export class Meeting {
63
63
  senderName: string;
64
64
  timestamp: Date;
65
65
  topic: string;
66
+ payload: object;
66
67
  }>;
67
68
 
68
69
  /**
@@ -320,6 +321,8 @@ export class Meeting {
320
321
  options: {
321
322
  persist: boolean;
322
323
  },
324
+ payload: object,
325
+ sendOnly: Array<String>
323
326
  ) => Promise<void>;
324
327
  /**
325
328
  * Subscribe to message on a topic
@@ -336,6 +339,7 @@ export class Meeting {
336
339
  senderName: string;
337
340
  timestamp: string;
338
341
  topic: string;
342
+ payload: object;
339
343
  }) => void,
340
344
  ) => Promise<
341
345
  Array<{
@@ -345,6 +349,7 @@ export class Meeting {
345
349
  senderName: string;
346
350
  timestamp: string;
347
351
  topic: string;
352
+ payload: object;
348
353
  }>
349
354
  >;
350
355
  /**
@@ -362,6 +367,7 @@ export class Meeting {
362
367
  senderName: string;
363
368
  timestamp: string;
364
369
  topic: string;
370
+ payload: object;
365
371
  }) => void,
366
372
  ) => Promise<void>;
367
373
  };
@@ -44,6 +44,12 @@ export class Participant {
44
44
  *
45
45
  */
46
46
  mode: 'CONFERENCE' | 'VIEWER';
47
+ /**
48
+ * @description This represents metaData which is passed in MeetingProvider
49
+ *
50
+ */
51
+ metaData: object;
52
+
47
53
  /**
48
54
  * @description This method can be used to kickout a participant from the meeting
49
55
  */
@@ -65,7 +71,11 @@ export class Participant {
65
71
  */
66
72
  disableWebcam(): void;
67
73
  /**
68
- * @description This method can be used to set the incoming video quality of the participant
74
+ * @description This method can be used to capture image in the meeting
75
+ */
76
+ captureImage({height,width}:{height?:number,width?:number}): Promise<string | null>;
77
+ /**
78
+ * @description This method can be used to set the incoming video quality of the participant
69
79
  * @param quality
70
80
  */
71
81
  setQuality(quality: 'low' | 'med' | 'high'): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@videosdk.live/react-sdk",
3
- "version": "0.1.77",
3
+ "version": "0.1.79",
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.73",
76
+ "@videosdk.live/js-sdk": "0.0.75",
77
77
  "events": "^3.3.0"
78
78
  }
79
79
  }