Payload emitted on the audio:generate:fallback event when a provider in the chain fails and the proxy advances to the next candidate.
audio:generate:fallback
emitter.on('audio:generate:fallback', (evt: AudioFallbackEvent) => { console.warn(`${evt.from} -> ${evt.to}: ${evt.reason}`);}); Copy
emitter.on('audio:generate:fallback', (evt: AudioFallbackEvent) => { console.warn(`${evt.from} -> ${evt.to}: ${evt.reason}`);});
The event discriminator. Always 'audio:generate:fallback'.
'audio:generate:fallback'
Identifier of the provider that failed.
Identifier of the provider that will be tried next.
Human-readable reason for the fallback (error message or "not supported").
Payload emitted on the
audio:generate:fallbackevent when a provider in the chain fails and the proxy advances to the next candidate.Example