Can someone explain VLC's strange HTTP Range Requests
Posted: 08 Jan 2014 14:14
I have a Java server which handles requests to media files, e.g. MP4 videos. When I use VLC to access such a file, I can see lots of HTTP Range Requests in my server. The server can handle the requests, but I do not understand what VLC tries to achieve. To make sure it has nothing to do with my server I also tried putting the media file into an Apache server and I can see dozens of requests as well, so I assume they are the same. Here is part of my log file:
This goes on and on. VLC requests the same ranges over and over again. After some seconds the requested ranges change but then the same ones are requests over and over again. Also for each of the requests I get an error in my server because VLC closes the connection before reading the complete response. So in fact VLC seems to request the same data over and over again but does not seem to be interested in the complete response.
Code: Select all
2014-01-08 13:56:39,472 [qtp32485379-86] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=0-".
2014-01-08 13:56:45,520 [qtp32485379-87] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=1787495-".
2014-01-08 13:56:45,869 [qtp32485379-84] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=4520980-".
2014-01-08 13:56:46,233 [qtp32485379-83] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=1048907462-".
2014-01-08 13:57:12,350 [qtp32485379-85] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=4558050-".
2014-01-08 13:57:12,560 [qtp32485379-82] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=85229234-".
2014-01-08 13:57:13,037 [qtp32485379-84] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=4558050-".
2014-01-08 13:57:13,241 [qtp32485379-83] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=85267932-".
2014-01-08 13:57:13,573 [qtp32485379-86] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=4558050-".
2014-01-08 13:57:13,784 [qtp32485379-87] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=85267932-".
2014-01-08 13:57:14,117 [qtp32485379-82] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=4558050-".
2014-01-08 13:57:15,352 [qtp32485379-83] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=85267932-".
2014-01-08 13:57:15,685 [qtp32485379-85] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=4754410-".
2014-01-08 13:57:15,896 [qtp32485379-87] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=85267932-".
2014-01-08 13:57:16,229 [qtp32485379-86] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=4754410-".
2014-01-08 13:57:16,435 [qtp32485379-82] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=85267932-".
2014-01-08 13:57:16,768 [qtp32485379-83] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=4754410-".
2014-01-08 13:57:16,980 [qtp32485379-85] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=85267932-".
2014-01-08 13:57:17,324 [qtp32485379-87] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=4754410-".
2014-01-08 13:57:17,546 [qtp32485379-86] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=85267932-".
2014-01-08 13:57:17,878 [qtp32485379-82] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=4754410-".
2014-01-08 13:57:18,089 [qtp32485379-83] DEBUG de.codewave.utils.servlet.StreamSender - Received range request with 'Range' header "bytes=85267932-".