Error loadind audio in new Chrome version - HeadersProvisional headers are shown
Reported by
vesant...@gmail.com,
Dec 19 2016
|
|||||||
Issue description
Chrome Version : 55.0.2883.87 m (64-bit)
URLs (if applicable) : localhost:9000
OS version : Windows 10
Network (such as Cable/DSL/Dial up etc): Cable 100 Mbit/sec
Audio/Video format (if applicable): wav
Special chrome flags (if applicable): no
Behavior in Safari (if known): it work's
Behavior in Firefox (if known): it work's
Video issue, Audio issue, both, neither?
Flash or HTML5? : HTML5
What steps will reproduce the problem?
(1) I'm Load my HTML5 code, it start loading 10 wav files
(2) I see error at Network Console " Request HeadersProvisional headers are shown". But the same time i see well loaded file in console.
(3) All other files loded well.
What is the expected result? Load the file properly
What is the actual result? Error of loading file
Any additional information: only last version make this bug
Please attach the HTML5/JavaScript code or audio/video :
// loading WAV sound files
if (messageKey == 'sound' || messageKey == 'machineSound') {
var obj = new Audio();
obj.addEventListener("canplaythrough", function () {
console.log('canplay through ' + key);
appSettings.imageLoaded++;
deferred.resolve({key: messageKey + '.' + key, el: obj});
this.removeEventListener("canplaythrough", arguments.callee);
}, false);
obj.addEventListener('error', function () {
console.log('error ' + key);
deferred.reject(src);
this.removeEventListener("error", arguments.callee);
}, false);
setTimeout(_.bind(function () {
obj.src = appSettings.assetsUrl + src;
}, this), 25);
console.log('ask ' + src);
}
// resolve loading
$.when.apply(this, resources).then(
_.bind(function (values) {
//JL().debug('Resources loaded successfully');
_(arguments).reduce(function (memo, pair) {
memo[pair.key] = pair.el;
return memo;
}, this._resources);
this.initialize();
}, this),
_.bind(function (src) {
JL().fatal({
"msg": "Failed to load resource",
"url": src
});
}, this)
);
,
Dec 19 2016
sory forgot to add variable var deferred = jQuery.Deferred();
,
Dec 20 2016
,
Dec 20 2016
So it means this bug will be fixed in new version ? How much time does it takes you ?
,
Dec 22 2016
vesantpro@ in order to triage this issue, could you please help us with sample html page, so that we can test this scenario on our end. Thank You...
,
Dec 30 2016
Hello, add small page to show this situation. http://1c.sadok.net.ua/test.html
,
Jan 5 2017
+hubbe, sounds like you're hitting connection limits which I thought the new cache architecture helped with.
,
Jan 7 2017
How long are these wav files? If the wav files are short, they should load, close the connection and then continue loading the next file. However, you might need "preload = auto" for that. If the files are longer, the connections will stay open and only 6 files can load. I'll take a look on Monday to see if I can figure out what is going on.
,
Jan 8 2017
Two files for about 1 MB long, other can be different from 100 to 500 Kbyte. In the same time there can be more than 5 connections in order to load wav file.
,
Jan 13 2017
my chrome version to be clear
,
Jan 13 2017
Tried loading this page on windows ToT, windows stable and linux stable, and was not able to reproduce the bug. Loading all the WAV files takes a little time though, it's possible that there is some timeout issue somewhere that comes into play if loading took even longer.
,
Jan 14 2017
In this case i just loading HTML5 audio objects (wav files), without any additional action (stop/play/etc.) It was started immidiatly after new Chrome realese loaded. Now it works fine on my laptop with previous Chome release. It isn't my code bug, timeout or something else. Old vesion works fine, the new one not.
,
Jan 23 2017
Thank you for providing more feedback. Adding requester "kkaluri@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jan 24 2017
,
Mar 13 2017
Cleaning up sheriffbot label "Needs-Review" label as a part of modified "Needs-Feedback" sheriffbot rule. [ref bug for cleanup 684919] |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by vesant...@gmail.com
, Dec 19 2016