-
-
Notifications
You must be signed in to change notification settings - Fork 967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A way to send buffer in a stream #748
Comments
@vj-abishek You likely want to send the files over a DataChannel. These two responses may help guide you to a solution. |
@jarretttaylor Do you know any package which converts TypedArray into a stream. Im gonna use streamSaver, which needs stream as an input. |
@vj-abishek Unfortunately, we are well outside of my area of expertise, so I am likely not of much help. That being said, you might look into ReadableStream and see if it could be of some use. |
Found a package which is used to share files.
|
At the sender end, I'm using a package known as
chunk-stream
to chunk the data.Sender
My question:
Is there any way to listen for
peer.on('stream')
and access the data at the receiver end?I need to receive the data in a stream, is that possible?
I'm transferring files in this example, not video/audio.
The text was updated successfully, but these errors were encountered: