
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
I want to use a stable stream but there are so many unexpected situations.
In mobile, a stream can be broken in many reasons such as changing network AP, signal weakness or a failure from the back-end. If a stream is stable, of course it can be not perfect, I think it will be very useful because we can delete many exception-catch codes.
// First, create a stream proxy with Google Speech-to-text stream.
class GoogleStreamProxy extends BasicStreamProxy<Buffer, SpeechEvent> {
constructor(
controller: StreamProxyController,
private readonly recognizeStream: NodeJS.WritableStream,
) {
super();
this.recognizeStream
.on('error', error => this.fire('error', error))
.on('data', data => {
this.fire('data', data);
// https://github.com/vin-ni/Google-Cloud-Speech-Node-Socket-Playground/issues/9
if (/* is end of utterance */) {
controller.goNextProxy();
}
});
}
public send = (data: Buffer) => {
this.recognzeStream.write(data);
}
public destroy = () => {
this.recognizeStream.end();
}
}
// Make a lake to be calm.
const lake = calm(async controller => new GoogleStreamProxy(
controller,
googleSpeechClient.streamingRecognize(/*request*/)),
)
.on('data', console.info)
.on('error', console.warn);
// Send a data into a lake.
lake.send(audioBuffer);
MIT
FAQs
A stable stream with a buffer like calm lake.
We found that calm-lake demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.