Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

progressive download and Webkit browsers

$
0
0

I am trying to provide progressive download of video content using IIS 7.5 media services. The application uses the Silverlight Open Video Player. IE and Firefox issue byte range requests when clicking on the scrubbing bar. Web kit browsers (Chrome and Safari) do not issue byte range requests when clicking on the scrubbing bar and instead wait for the video content to load. Here are some sample request /responses for IE and Chrome:

 

IE Request header:

 

GET http://xxx/xxx/xxx/1215.wmv HTTP/1.1

Accept: */*

Referer: http://xxx/xxx/xxx/xxx/ClientBin/xxx.Silverlight.xap

Accept-Language: en-US

Accept-Encoding: gzip, deflate

User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)

Host: xxx

DNT: 1

Connection: Keep-Alive

 

Response:

 

HTTP/1.1 200 OK

Content-Type: video/x-ms-wmv

Last-Modified: Tue, 07 May 2013 21:09:39 GMT

Accept-Ranges: bytes

ETag: "32e67a2f674bce1:0"

Server: Microsoft-IIS/7.5

X-Powered-By: ASP.NET

LicenseServiceUrl: http://xxx

Date: Wed, 08 May 2013 21:56:59 GMT

Content-Length: 125650998

 

When clicking on the scrubing bar, IE(and firefox) sends another request:

GET http://xxx/xxx/xxx/1215.wmv HTTP/1.1

Accept: */*

Range: bytes=40960000-125650998

Accept-Encoding: gzip, deflate

User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)

Host: xxx

DNT: 1

Connection: Keep-Alive

Response:

 

HTTP/1.1 206 Partial Content

Content-Type: video/x-ms-wmv

Last-Modified: Tue, 07 May 2013 21:09:39 GMT

Accept-Ranges: bytes

ETag: "32e67a2f674bce1:0"

Server: Microsoft-IIS/7.5

X-Powered-By: ASP.NET

LicenseServiceUrl: http://xxx

Date: Wed, 08 May 2013 22:36:19 GMT

Content-Length: 84690998

Content-Range: bytes 40960000-125650997/125650998

 

Chrome request header:

GET http://xxx/xxx/ondemand/1215.wmv HTTP/1.1

Host: xxx

Connection: keep-alive

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31

Accept: */*                 

Referer: http://xxx/xxx/xxx/xxx/Content/Browse.aspx

Accept-Encoding: gzip,deflate,sdch

Accept-Language: en-US,en;q=0.8

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

Response:

HTTP/1.1 200 OK

Content-Type: video/x-ms-wmv

Last-Modified: Tue, 07 May 2013 21:09:39 GMT

Accept-Ranges: bytes

ETag: "32e67a2f674bce1:0"

Server: Microsoft-IIS/7.5

X-Powered-By: ASP.NET

LicenseServiceUrl: http://xxx

Date: Wed, 08 May 2013 21:25:04 GMT

Content-Length: 125650998

 

Webkit browsers do not send byte rage requests, does anybody know why? Any ideas on how to get this to work is appreciated.  I’d be happy to provide more information if that will help.

Thanks!


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>