@veltdev/sdk 4.5.0-beta.64 → 4.5.0-beta.65

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.
@@ -105,3 +105,7 @@ export declare class RecorderEncodingOptions {
105
105
  safari?: MediaRecorderOptions;
106
106
  other?: MediaRecorderOptions;
107
107
  }
108
+ export declare class RecorderDevicePermissionOptions {
109
+ audio?: boolean;
110
+ video?: boolean;
111
+ }
@@ -2,7 +2,7 @@
2
2
  import { Observable } from "rxjs";
3
3
  import { RecorderData, RecorderRequestQuery, GetRecordingDataResponse, GetRecordingsResponse, DeleteRecordingsResponse } from "../data/recorder-annotation.data.model";
4
4
  import { RecorderEventTypesMap } from "../data/recorder-events.data.model";
5
- import { RecordedData, RecorderQualityConstraints, RecorderEncodingOptions } from "../data/recorder.model";
5
+ import { RecordedData, RecorderQualityConstraints, RecorderEncodingOptions, RecorderDevicePermissionOptions } from "../data/recorder.model";
6
6
 
7
7
  export declare class RecorderElement {
8
8
 
@@ -119,6 +119,11 @@ export declare class RecorderElement {
119
119
  */
120
120
  disableRetakeOnVideoEditor: () => void;
121
121
 
122
+ /**
123
+ * To ask device permission
124
+ */
125
+ askDevicePermission: (options: RecorderDevicePermissionOptions) => void;
126
+
122
127
  constructor();
123
128
 
124
129
  private _initRecording;
@@ -233,4 +238,9 @@ export declare class RecorderElement {
233
238
  * To disable retake on video editor
234
239
  */
235
240
  private _disableRetakeOnVideoEditor;
241
+
242
+ /**
243
+ * To ask device permission
244
+ */
245
+ private _askDevicePermission;
236
246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "4.5.0-beta.64",
3
+ "version": "4.5.0-beta.65",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [