Add server-side spatial audio with HRTF, occlusion and adaptive quality
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# Local development only. Start from the repository root.
|
||||
port: 7880
|
||||
bind_addresses:
|
||||
- 127.0.0.1
|
||||
rtc:
|
||||
tcp_port: 7881
|
||||
udp_port: 7882
|
||||
use_external_ip: false
|
||||
keys:
|
||||
devkey: spatial-local-development-secret
|
||||
room:
|
||||
spatial_audio:
|
||||
enabled: true
|
||||
room_prefix: spatial-
|
||||
max_participants: 32
|
||||
near_distance: 1
|
||||
max_distance: 20
|
||||
smoothing_ms: 30
|
||||
pose_timeout_ms: 500
|
||||
jitter_ms: 40
|
||||
bitrate: 64000
|
||||
debug_stats: true
|
||||
adaptive:
|
||||
enabled: true
|
||||
pose_interval_ms: 50
|
||||
overload_ratio: 0.7
|
||||
recovery_ratio: 0.4
|
||||
degrade_after_ms: 2000
|
||||
recover_after_ms: 10000
|
||||
cooldown_ms: 3000
|
||||
hrtf:
|
||||
enabled: true
|
||||
interpolation: bilinear
|
||||
library: .spatial-runtime/hrtf-build/Release/sverse_hrtf.dll
|
||||
occlusion:
|
||||
enabled: true
|
||||
max_objects: 64
|
||||
# Windows development build; on Linux use library: libopus.so.0
|
||||
library: .spatial-runtime/opus-build/Release/opus.dll
|
||||
logging:
|
||||
level: info
|
||||
Reference in New Issue
Block a user