Can I have flow control on my websockets?

前端 未结 3 1986
庸人自扰
庸人自扰 2021-02-03 10:22

I am using websockets to transfer video-y images from a server, written in Go, to a client which is an HTML page. My experience shared below is with Chrome.

I receive im

3条回答
  •  生来不讨喜
    2021-02-03 11:16

    You can do flow-control on WebSocket connections (based on TCP backpressure adaption). Here are two links to get you started:

    • Flow Control with the Producer/Consumer Pattern
    • Segmented Audio over WebSocket

    Disclosure: I am original author of Autobahn and work for Tavendo.

提交回复
热议问题