Open
Description
Tested versions
- Reproducible in 4.4.1.stable
- Not reproducible in 4.2.1.stable
System information
Windows 10 - Godot v4.4.1.stable - Vulkan (Forward+)
Issue description
PR #102163 introduces a delay on updating the playback position for AudioStreamPlayers on web to every ~0.1 seconds. This makes it extremely difficult to get a precise value on the playback (the strategy described in https://docs.godotengine.org/en/stable/tutorials/audio/sync_with_audio.html no longer works). Windows builds are unaffected.
Note that Godot v4.3 had a bug where get_playback_position()
always returned 0 (#95128), so this issue is irrelevant for 4.3.
Steps to reproduce
- Visit one of the projects linked below
- Select "Player Raw" in the dropdown in the top left
- Uncheck "Show Delta"
- See graph has harsh steps in 4.4.1, but not in 4.2
a. You may need to adjust "Frame Delay" if the updates happen too slowly/fast (higher number = slower update)
- v4.2: https://pizzalovers007.itch.io/music-sync-test-42?secret=LOqvL3nCPFbYUJjWP7tRxzFkYYs
- v4.4.1: https://pizzalovers007.itch.io/music-sync-test-441?secret=PGznMwOVo4VAfuqxNvzCs9298
Web builds if needed:
Minimal reproduction project (MRP)
Project downloads:
Metadata
Metadata
Assignees
Type
Projects
Status
For team assessment
Status
For team assessment