@newgameplusinc/odyssey-audio-video-sdk-dev 1.0.26 → 1.0.27

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.
@@ -433,9 +433,9 @@ class SpatialAudioManager extends EventManager_1.EventManager {
433
433
  }
434
434
  getDistanceConfig() {
435
435
  return {
436
- refDistance: this.options.distance?.refDistance ?? 1.2,
437
- maxDistance: this.options.distance?.maxDistance ?? 30,
438
- rolloffFactor: this.options.distance?.rolloffFactor ?? 1.35,
436
+ refDistance: this.options.distance?.refDistance ?? 0.5, // Normal volume within 0.5m (very close)
437
+ maxDistance: this.options.distance?.maxDistance ?? 5, // Cannot hear after 5 meters
438
+ rolloffFactor: this.options.distance?.rolloffFactor ?? 2.5, // Aggressive falloff for realistic distance attenuation
439
439
  unit: this.options.distance?.unit ?? "auto",
440
440
  };
441
441
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newgameplusinc/odyssey-audio-video-sdk-dev",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "Odyssey Spatial Audio & Video SDK using MediaSoup for real-time communication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",