swifter icon indicating copy to clipboard operation
swifter copied to clipboard

WebSocket and bufferedCount

Open ldenoue opened this issue 6 years ago • 0 comments

In the WebSocket API for html, they have a bufferedCount property that we can use to determine if we should send more messages or if we should wait. My app sends image frames from the screen, and I would like to drop frames instead of trying to send them all in case the connected client can’t receive them fast enough.

ldenoue avatar Aug 22 '19 17:08 ldenoue