@vidtreo/recorder 1.7.12 → 1.7.13

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 CHANGED
@@ -3187,6 +3187,29 @@ export {};
3187
3187
 
3188
3188
  export {};
3189
3189
 
3190
+ export type PacketFingerprint = {
3191
+ codec: string | null;
3192
+ duration: number;
3193
+ packetCount: number;
3194
+ payloadHash: string;
3195
+ };
3196
+ export type MediaFingerprint = {
3197
+ audio: PacketFingerprint & {
3198
+ channels: number;
3199
+ sampleRate: number;
3200
+ };
3201
+ video: PacketFingerprint;
3202
+ };
3203
+ export type AudioPreservationResult = {
3204
+ baseline: MediaFingerprint;
3205
+ baselineSize: number;
3206
+ final: MediaFingerprint;
3207
+ finalSize: number;
3208
+ source: MediaFingerprint;
3209
+ };
3210
+ export declare function inspectMedia(blob: Blob): Promise<MediaFingerprint>;
3211
+ export declare function processAudioPreservation(sourceBlob: Blob, expectedDurationSeconds: number): Promise<AudioPreservationResult>;
3212
+
3190
3213
  export {};
3191
3214
 
3192
3215
  export {};
package/dist/index.js CHANGED
@@ -1901,7 +1901,7 @@ function createConversionOptions(config, optimizeForSpeed = false) {
1901
1901
  }
1902
1902
  const audio = {
1903
1903
  codec: config.audioCodec,
1904
- forceTranscode: true,
1904
+ forceTranscode: false,
1905
1905
  ...optimizeForSpeed && { bitrateMode: "variable" }
1906
1906
  };
1907
1907
  return { video, audio };
@@ -6451,7 +6451,7 @@ function resolveDeviceError(input) {
6451
6451
  // package.json
6452
6452
  var package_default = {
6453
6453
  name: "@vidtreo/recorder",
6454
- version: "1.7.12",
6454
+ version: "1.7.13",
6455
6455
  type: "module",
6456
6456
  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.",
6457
6457
  main: "./dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidtreo/recorder",
3
- "version": "1.7.12",
3
+ "version": "1.7.13",
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",