Elevenlabs reported issue with their TS SDK where requests to .dubAVideoOrAnAudioFile() always returned a 400 saying that target_lang was not set. This was fixed by:
Using encoder.headers rather than {Content-Length: encoder.length}
Updating Fetcher to no longer stringify stream.Readable data type
Elevenlabs reported issue with their TS SDK where requests to
.dubAVideoOrAnAudioFile()
always returned a 400 saying thattarget_lang
was not set. This was fixed by:encoder.headers
rather than{Content-Length: encoder.length}
Fetcher
to no longer stringifystream.Readable
data type