> This sounds like the recently changed behaviour when seeking in live
> streams:
> 
> <https://bugzilla.mozilla.org/show_bug.cgi?id=760336>
> 
> Does the fix in that bug report sound like the behaviour you are seeing?

The behavior in that bug report seems like what I'm seeing.  I wonder if the 
duration is being reported as infinity due to: 
https://bugzilla.mozilla.org/show_bug.cgi?id=500784.  That video is certainly 
over 2^31 Bytes.

> Is there a reason why your video might be treated as a live stream?

Not to my knowledge.

> Do you send Accept-Ranges? 

The Apache Tomcat version I'm running should handle and respond appropriately 
to Accept-Ranges.

> Do you handle the initial HTTP request, which is a byte range request of 
> "0-" by responding with a 200 or a 206 HTTP result? If the former 
> we assume the server is a live stream I think.

My initial request seems to be coming in without a byte range request:

GET /StatEasy/videos/00245-2.20120415174030.ogv HTTP/1.1
Host: localhost:8081
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) 
Gecko/20100101 Firefox/14.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Cookie: JSESSIONID=96D2245C8F99C4C826A46C5CC356D664; 
JSESSIONID=AF91E4B4ABBA219593B305A55306617B

And the response:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Content-Duration: 570
Etag: W/"280513686-1334526071000"
Last-Modified: Sun, 15 Apr 2012 21:41:11 GMT
Content-Type: video/ogg
Content-Length: 280513686
Date: Fri, 20 Jul 2012 14:28:41 GMT

> I recommend raising a bug with all the details so it can be addressed.

I'll do that.  Thanks for your help!
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to