@vidtreo/recorder 1.7.3 → 1.7.4

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1475,7 +1475,7 @@ async function buildDeviceCapabilityProfile(options = {}) {
1475
1475
 
1476
1476
  // src/core/routing/recording-route-decision.ts
1477
1477
  var DEFAULT_MIN_DEVICE_MEMORY_GB = 4;
1478
- var DEFAULT_MIN_HARDWARE_CONCURRENCY = 5;
1478
+ var DEFAULT_MIN_HARDWARE_CONCURRENCY = 4;
1479
1479
  var PLATFORM_KEYWORD_ANDROID2 = "android";
1480
1480
  var UNSUPPORTED_GUIDANCE_MESSAGE = "Recording is not supported in this browser context. Use a secure connection, go online, and try a current Chrome or Edge browser.";
1481
1481
  function hasSufficientDeviceMemory(profile, minDeviceMemory) {
@@ -1566,14 +1566,7 @@ function decideRecordingRoute(options) {
1566
1566
  const hasSmoothEncoding = hasSmoothEncodingCapability(selectedCodec);
1567
1567
  const hasPowerEfficientEncoding = hasPowerEfficientEncodingCapability(selectedCodec);
1568
1568
  const localRouteBlockers = buildLocalRouteBlockers(options.profile, hasSupportedTargetCodec, hasEnoughDeviceMemory, hasEnoughHardwareConcurrency, hasSupportedEncoding, hasSmoothEncoding, hasPowerEfficientEncoding);
1569
- if (isAndroidProfile(options.profile) && canUsePostRecordingTranscodeRoute(options.profile, hasSupportedTargetCodec)) {
1570
- return {
1571
- route: "safe-capture-post-recording-transcode",
1572
- reasonCodes: buildPostRecordingTranscodeReasonCodes(options.profile, localRouteBlockers),
1573
- selectedCodecId
1574
- };
1575
- }
1576
- if (options.profile.features.isSecureContext && options.profile.features.hasVideoEncoder && hasSupportedTargetCodec && options.profile.network.online !== false && hasEnoughDeviceMemory && hasEnoughHardwareConcurrency && hasSupportedEncoding && hasSmoothEncoding && hasPowerEfficientEncoding) {
1569
+ if (options.profile.features.isSecureContext && options.profile.features.hasVideoEncoder && hasSupportedTargetCodec && options.profile.network.online !== false && hasEnoughDeviceMemory && hasEnoughHardwareConcurrency && hasSupportedEncoding && hasSmoothEncoding) {
1577
1570
  return {
1578
1571
  route: "local-webcodecs",
1579
1572
  reasonCodes: ["webcodecs-supported", "target-codec-supported"],
@@ -6319,7 +6312,7 @@ function resolveDeviceError(input) {
6319
6312
  // package.json
6320
6313
  var package_default = {
6321
6314
  name: "@vidtreo/recorder",
6322
- version: "1.7.3",
6315
+ version: "1.7.4",
6323
6316
  type: "module",
6324
6317
  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.",
6325
6318
  main: "./dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidtreo/recorder",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
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",