You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of this package are you using?
9.11.1 What operating system, Node.js, and npm version?
node v16.15.0
npm 8.5.5
macOs 12.4 What happened?
I am using this package to send files.
When file size is small everything is ok.
But when I send a 240Mb file, after 28mb was received ,an Unhandled Rejection (OperationError): Failed to execute 'send' on 'RTCDataChannel': RTCDataChannel send queue is full error happened.
Then I change the code to
This happens when you send a chunk that is larger than the peerConnection.sctp.maxMessageSize, so your chunks have to be that size or smaller otherwise it will error.
What version of this package are you using?
9.11.1
What operating system, Node.js, and npm version?
node v16.15.0
npm 8.5.5
macOs 12.4
What happened?
I am using this package to send files.
When file size is small everything is ok.
But when I send a 240Mb file, after 28mb was received ,an
Unhandled Rejection (OperationError): Failed to execute 'send' on 'RTCDataChannel': RTCDataChannel send queue is full
error happened.Then I change the code to
this time it just stuck forever after transfer >80Mb data.
use promise and settimeout fix the problem ,but I have to wait and dont know 50ms is the proper duration
What did you expect to happen?
how to deal with `RTCDataChannel send queue is full``
Are you willing to submit a pull request to fix this bug?
The text was updated successfully, but these errors were encountered: