Closed jscott-rawnet closed 6 months ago
Had to remove a few listeners in the proxy that seemed to prevent requests being picked up and then change my own mistake here.
const { result, error } = await this.deepgramClient.listen.prerecorded.transcribeFile(
dataBlob.stream(),
{
model: "nova-2",
}
);
to
const { result, error } = await this.deepgramClient.listen.prerecorded.transcribeFile(
await dataBlob.arrayBuffer(), //should have been an arrayBuffer
{
model: "nova-2",
}
);
and now the requests succeed. No error messages given by the sdk. Unsure exact causes, can't look any deeper than this. Sorry to disturb.
Does deepgram api require http2? All requests using this proxy seems to give net::ERR_H2_OR_QUIC_REQUIRED