Open DeeRock94 opened 1 month ago
Hey @DeeRock94 -- we'll follow up here. Thanks for filing this issue!
HI just an update to this, I finally managed to catch the culprit, it took 3 runs and on the 3rd I just got lucky and it decided to actually tel lme what the error was. It was due to not having MPV (https://mpv.io/) installed. I'm developing this on a Windows (Regretting not using my mac now) with hope to move this to a Linux based OS in the near future.
It seems ElevenLabs might be using MPV under the hood for the stream()
method. After installing MPV and updating my PATH
I managed to get this working.
That's right, awesome!
Following your recent documentation on the README, it states streaming generated audio can be done via the below:
I've attempted to achieve this with the code below
This doesn't seem to work, now when I am using
play()
and playing it directly, with thestream: false
set (or not defined), it works fine, however the second I go to stream it, it seems to throw an error in my node application:Any suggestions? I've attempted to try and catch this error but I can't seem to find anything of value from it.
Update:
Okay so I've managed to get a more specific error than just "null"