How to determine WebRTC dataChannel.send is delivered? #2413
Unanswered
jimmywarting
asked this question in
Q&A
Replies: 1 comment
-
Just wanted to share some details regarding bufferedAmount if someone else came here from search engine, during my testing in chrome, for both ordered/unordered, reliable channel, after initiating a send, the bufferedAmount will increase and then immediately go down even if the data has not been sent yet, unless if the internal buffer of sctp is full (which is around 3MB), then bufferedAmount will start piling up. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was searching for a way to determinate if a message have been delivered.
So i was investigating ACK message, and sending reply and doing some kind of RPC callback jank
but then i found this:
https://stackoverflow.com/questions/58256552/how-to-determine-webrtc-datachannel-send-is-delivered
I just want to be sure about one thing: if i use ordered and reliable, Will
bufferedamount
only decrease once the receiver have received the message?meaning: it's not the underlying OS that actually sends the message over the network that decreases it... it's the receiver who says that?
Beta Was this translation helpful? Give feedback.
All reactions