question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stream support (ReadableStream)

See original GitHub issue

Hey there, great code!

I was wondering if it’d be possible to use a ReadableStream instead of ArrayBuffer to modify the MP3 while it’s being fetched from the remote host and being passed to the client.

Chrome ships support for streaming response bodies already: https://www.chromestatus.com/feature/5804334163951616

What are your thoughts on this? 😃

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
berstendcommented, May 12, 2017

Great stuff @egoroof - thanks! 😃 👍

1reaction
egoroofcommented, Apr 20, 2017

converting the arrayBufer to an Uint8Array correctly

new Uint8Array(arrayBuffer) is it correctly ?)

I most likely stick with what already works

WritableStream is coming

making use of the multi-threaded chrome.downloads as well

yeah, that will be cool, I wait it too

Keep up the good work

thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReadableStream - Web APIs - MDN Web Docs
Chrome Edge ReadableStream Full support. Chrome43. Toggle history Full support. Edge14... ReadableStream() constructor Full support. Chrome43. Toggle history Full support. Edge79... cancel Full support. Chrome43. Toggle...
Read more >
"ReadableStream" | Can I use... Support tables for ... - CanIUse
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >
Streams—The definitive guide - web.dev
A readable stream is a data source represented in JavaScript by a ReadableStream object that flows from an underlying source. The ReadableStream ......
Read more >
readable-stream - npm
This package is a mirror of the streams implementations in Node.js 18.9.0. Full documentation may be found on the Node.js website.
Read more >
Stream | Node.js v19.3.0 Documentation
The Readable stream API evolved across multiple Node.js versions and provides multiple methods of ... The pipeline API also supports async generators:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found