@vidtreo/recorder 1.7.8 → 1.7.9
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.
- package/dist/index.d.ts +11 -0
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -185,6 +185,17 @@ export {};
|
|
|
185
185
|
|
|
186
186
|
export {};
|
|
187
187
|
|
|
188
|
+
export type MediaStats = {
|
|
189
|
+
audioChannels: number;
|
|
190
|
+
audioDuration: number;
|
|
191
|
+
audioSampleRate: number;
|
|
192
|
+
videoFrameCount: number;
|
|
193
|
+
videoFrameRate: number;
|
|
194
|
+
videoDuration: number;
|
|
195
|
+
};
|
|
196
|
+
export declare function inspectMedia(blob: Blob): Promise<MediaStats>;
|
|
197
|
+
export declare function transcodePreservingCadence(blob: Blob): Promise<Blob>;
|
|
198
|
+
|
|
188
199
|
export {};
|
|
189
200
|
|
|
190
201
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -6315,7 +6315,7 @@ function resolveDeviceError(input) {
|
|
|
6315
6315
|
// package.json
|
|
6316
6316
|
var package_default = {
|
|
6317
6317
|
name: "@vidtreo/recorder",
|
|
6318
|
-
version: "1.7.
|
|
6318
|
+
version: "1.7.9",
|
|
6319
6319
|
type: "module",
|
|
6320
6320
|
description: "Vidtreo SDK for browser-based video recording and transcoding. Features include camera/screen recording, real-time MP4 transcoding, audio level analysis, mute/pause controls, source switching, device selection, and automatic backend uploads. Similar to Ziggeo and Addpipe, Vidtreo provides enterprise-grade video processing capabilities for web applications.",
|
|
6321
6321
|
main: "./dist/index.js",
|
|
@@ -23108,8 +23108,12 @@ class RecordingManager {
|
|
|
23108
23108
|
if (!this.activeRecordingConfig) {
|
|
23109
23109
|
throw new Error("Recording config unavailable for final video processing");
|
|
23110
23110
|
}
|
|
23111
|
+
const transcodeConfig = {
|
|
23112
|
+
...this.activeRecordingConfig,
|
|
23113
|
+
fps: undefined
|
|
23114
|
+
};
|
|
23111
23115
|
this.callbacks.onTranscodingProgress?.(0);
|
|
23112
|
-
const result = await this.dependencies.transcodeVideo(blob,
|
|
23116
|
+
const result = await this.dependencies.transcodeVideo(blob, transcodeConfig, (progress) => {
|
|
23113
23117
|
this.callbacks.onTranscodingProgress?.(progress);
|
|
23114
23118
|
});
|
|
23115
23119
|
this.callbacks.onTranscodingProgress?.(1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vidtreo/recorder",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vidtreo SDK for browser-based video recording and transcoding. Features include camera/screen recording, real-time MP4 transcoding, audio level analysis, mute/pause controls, source switching, device selection, and automatic backend uploads. Similar to Ziggeo and Addpipe, Vidtreo provides enterprise-grade video processing capabilities for web applications.",
|
|
6
6
|
"main": "./dist/index.js",
|