/ tag
WebSockets
1 post on this topic.
-
Streaming uploads over WebSockets in Go with io.Pipe backpressure
A browser MediaRecorder emits video chunks for minutes on end. Buffering each recording in RAM doesn't scale. How I stream chunks straight to storage over a WebSocket in Go, using io.Pipe so the socket buffer becomes the backpressure.