Skip to content

Async ReadStream Listen

Choose a tag to compare

@birme birme released this 24 Jun 11:21
· 92 commits to master since this release

This release includes bindings for non-blocking event polling to enable async ReadStream.listen(). For example:

  const srt = new SRTReadStream('0.0.0.0', 1234);
  srt.listen(readStream => {
    readStream.pipe(dest);
  });
  console.log("async listen");