Re: [webrtc-pc] how to use datachannel bufferedamountlow threshold callback? (#1979)

That was more of an arbitrary decision on what works well in practice. Choosing these values is an optimisation between the amount of JS calls (and thus likely CPU usage), the amount of data buffered (and thus memory pressure) and the network throughput. The last one has always been the bottleneck in my testing, so 1 MiB did the job. Keep in mind that the browser also has a buffer and the SCTP stack also has a buffer that you just don't see. :slightly_smiling_face: 

-- 
GitHub Notification of comment by lgrahl
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1979#issuecomment-627197160 using your GitHub account

Received on Tuesday, 12 May 2020 08:34:06 UTC