|
|
|
|
|
by urlgrey
2970 days ago
|
|
Periscope developed a Low-Latency HTTP Live Streaming (LHLS) technique that relies on HTTP chunked transfer-encoding to stream video bytes as they are encoded at the origin. This is still subject to TCP packet retransmission overhead, but the time-to-first-byte is reduced significantly and leads to less buffering on the client. Here's a Periscope post about LHLS: https://medium.com/@periscopecode/introducing-lhls-media-str... Most systems that serve HLS media use fixed content-length segments, which requires knowledge of the length of a segment before the first byte can be sent over the wire. So, for a 5 second segment you would need to encode the entire 5 seconds before the first byte can be sent; this does not apply when streaming the segments with chunked transfer encoding. Incidentally, at Mux we also use chunked transfer-encoding to stream video that is encoded on-the-fly with great performance. |
|