Options for creating an audio service via createAudioService().
const audioService = createAudioService({ onChange: (sources) => console.log('Audio sources changed:', sources.size),}); Copy
const audioService = createAudioService({ onChange: (sources) => console.log('Audio sources changed:', sources.size),});
Optional
Called when the audio source registry changes (register, unregister, mute, state update). The shell host uses this to update UI.
Options for creating an audio service via createAudioService().
Example