decentraland / decentraland/bevy-explorer

Spatial audio for AudioStream and VideoPlayer

Open
#1,170 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
27
Forks
20
Avg merge
1d 30m
Merged PRs (30d)
78

Description

Protocol adds `spatial`, `spatial_min_distance`, `spatial_max_distance` to both PBAudioStream (4-6) and PBVideoPlayer (7-9). Not in our vendored protos; `AudioStream::position()` is hardcoded to 0 (`crates/av/src/lib.rs:435`) so playback is always global, and video audio is likewise non-spatial. We already spatialize AudioSource, so the emitter machinery exists.

Unity ships both, including live updates (`MediaStream/MultiMediaPlayer.cs`, `UpdateMediaPlayerSystem.cs`) — live parity gap. Protocol refs: #323/#412.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.