I understand that part, when a request comes for a range you send the range in blocks of 20K. I'll setup my communication buffer to 20K too.
What I don't understand is what if a request comes and doesn't have a range? What do I answer to that one?
User-Agent: Roku/DVP-2.9 (012.09E01529A)
GET /Ancient%20Aliens/Ancient%20Aliens_20110126_20002100.mp4 HTTP/1.1
For this one, the Range start and Range end are both 0, and I saw those kind of request coming in the server at random times from Roku... should I just ignore those requests?
https://github.com/e1ioan/
http://rokucam.com