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
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 tothis 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?