Thursday, 15 July 2010

html5 - H.264 Streamed Video Works in Chrome 23 but not Chrome 24, different request headers... same cherrypy backend -



html5 - H.264 Streamed Video Works in Chrome 23 but not Chrome 24, different request headers... same cherrypy backend -

on site i'm working on, utilize html5 video h.264. if it's not available utilize flash fallback. flash fallback working fine in both chrome 23 , 24, html5 video works in chrome 23.

i opened video file in it's own tab (which chrome has simple bootstrap snippet of html play it) in each version of chrome , saved request , response information. makes 3 requests find teh first 1 interesting. here header info request , response both.

chrome 23:

request: url:http://localhost:8040/media/preview/ab0eca40ffee4f/c268a6240b08ff/mp4_360 request method:get status code:200 ok request headersview source accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 accept-charset:iso-8859-1,utf-8;q=0.7,*;q=0.3 accept-encoding:gzip,deflate,sdch accept-language:en-us,en;q=0.8 cache-control:no-cache connection:keep-alive cookie:beaker.session.id=c59137ff184428045f317d6b2385aa384 4c30f host:localhost:8040 pragma:no-cache user-agent:mozilla/5.0 (x11; linux x86_64) applewebkit/537.11 (khtml, gecko) chrome/23.0.1271.97 safari/537.11 ------------------------------- response headersview source accept-ranges:bytes content-disposition:inline; filename="2af3dc86e4fae33370c268a6240b08ff" content-length:5817287 content-type:video/mp4 date:wed, 06 feb 2013 15:51:25 gmt last-modified:fri, 07 dec 2012 19:47:51 gmt server:cherrypy/3.2.0

chrome 24:

request url:http://localhost:8040/media/preview/ef5a0220219b8e0/a4fe5f21c26f/mp4_360 request method:get status code:200 ok request headersview source accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 accept-charset:iso-8859-1,utf-8;q=0.7,*;q=0.3 accept-encoding:gzip,deflate,sdch accept-language:en-us,en;q=0.8 cache-control:max-age=0 connection:keep-alive cookie:beaker.session.id=5c080dc2b3343dc725ea368dae30cb1bc324 host:localhost:8040 user-agent:mozilla/5.0 (x11; linux x86_64) applewebkit/537.17 (khtml, gecko) chrome/24.0.1312.68 safari/537.17 ----------------------------------- response headersview source accept-ranges:bytes content-disposition:inline; filename="e10cce5997514651851aa4fe5f21c26f" content-length:3632612 content-type:video/mp4 date:wed, 06 feb 2013 18:45:04 gmt last-modified:tue, 05 feb 2013 20:15:20 gmt server:cherrypy/3.2.0

has else expierenced this? i'm willing farther tests requested well.

you may prepare problem doing following: there alternative in chrome://flags called "disable hardware-accelerated video decode" enable it.

https://productforums.google.com/forum/?fromgroups=#!searchin/chrome/mp4/chrome/ilqhittzcay/hkpga3gk6bij

and bug filed 3 weeks ago: http://src.chromium.org/viewvc/chrome?view=rev&revision=178906. according status “fixed”. however, later on in comments saying prepare might pushed version m25 , fixed version 26.0.1395.1.

as test, have downloaded version 26 of chrome (the developer version), (re)disabled “disable hardware-accelerated video decode”, , works fine. if want same, visit chrome’s release page , take “dev channel windows”.

html5 google-chrome html5-video

No comments:

Post a Comment