Audio synchronization
Audio elements in your composition are automatically synchronized with Helios playback when using theDomDriver.
How it works
- Automatic discovery: The
DomDriverscans the DOM for<audio>and<video>elements withdata-helios-trackattributes - Synchronization: Media playback is kept in sync with the Helios timeline
- Precise seeking: Audio seeks to the exact position when you seek the Helios timeline
- Rate control: Playback rate changes are synchronized
Audio tracks
Identify audio elements with thedata-helios-track attribute to enable automatic discovery and control.
Track metadata
Discovered audio tracks are exposed through theavailableAudioTracks signal:
string
Track identifier from
data-helios-trackstring
Human-readable track name
Volume control
Control audio volume at both the global and per-track level.Global volume
Per-track volume
Audio state
The audio state is exposed through Helios signals and state:number
Master volume level (0.0 to 1.0)
boolean
Master mute state
Record<string, AudioTrackState>
Per-track volume and mute states
AudioTrackMetadata[]
List of discovered audio tracks