Html5, Chuncked Video Streaming
Solution 1:
Browser won't download entire video or audio file at a time. It downloads them in chunks and plays them one after another.
For your understanding, I'm explaining the headers here.
Request Header
Accept:*/* : Browser will accept any MIME-Types as response.
Range:bytes=32768- : Browser already has the video part, till byte 32767 but requires file from byte 32768.
Response Header
status : 206 : It means the served content is partial (not complete file)
accept-ranges:bytes : Server accepts byte ranges only (which is universal)
Content-Length:324882 : Total content length from requested byte.
content-range:bytes 32768-357649/357650: it is in this format start byte - last byte / total length (from 0 byte to end)
Content-Type:video/quicktime : Type of content
Post a Comment for "Html5, Chuncked Video Streaming"