|
|
|
|
|
by socketpuppet
5541 days ago
|
|
There isn't really much benefit of using chunked encoding for streaming video, if you're not generating the video on the fly server-side. If you are simply streaming a stored video, you can just get the file size, use that as the content-length, and send the video. If the content is in a streamable format the client can just read/play the data as it is received. Chunked encoding will in fact add a little overhead to just sending as is. Chunked encoding is more apt for situations where you don't know beforehand how much data you are going to send. |
|