Using this code, sending a ReadStream for file, I get an error.
In all other sdk methods that receive files I do the same way and they work just fine, in dubbing creation it doesn't work.
const dubbed = await elevenlabs.dubbing.create({
file: audioBlob,
targetLang: targetLang,
});
Error:
sourceMessage: 'File you provided has unsupported content type application/octet-stream.',
sourceCode: '400'