{"action":"created","issue":{"url":"https://api.github.com/repos/dailymotion/hls.js/issues/176","labels_url":"https://api.github.com/repos/dailymotion/hls.js/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/dailymotion/hls.js/issues/176/comments","events_url":"https://api.github.com/repos/dailymotion/hls.js/issues/176/events","html_url":"https://github.com/dailymotion/hls.js/issues/176","id":126525955,"number":176,"title":"chrome white screen/firefox unexpected error issue","user":{"login":"davegonzalez","id":1012987,"avatar_url":"https://avatars.githubusercontent.com/u/1012987?v=3","gravatar_id":"","url":"https://api.github.com/users/davegonzalez","html_url":"https://github.com/davegonzalez","followers_url":"https://api.github.com/users/davegonzalez/followers","following_url":"https://api.github.com/users/davegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/davegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/davegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davegonzalez/subscriptions","organizations_url":"https://api.github.com/users/davegonzalez/orgs","repos_url":"https://api.github.com/users/davegonzalez/repos","events_url":"https://api.github.com/users/davegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/davegonzalez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-13T22:00:11Z","updated_at":"2016-01-22T15:19:44Z","closed_at":null,"body":"Hi there!\r\nI'm able to consistently hit a white error screen in Chrome or regular error screen Firefox, particularly with low quality video streams (video bitrate of 200 and 400). They also consistently fail at the same timestamp. I'm able to reproduce the issue in you hls.js demo.\r\n\r\nThis isn't the whole log; I could send that to you along with the stream if you'd like:\r\n\r\n```\r\n[warn] > loading too slow, abort fragment loading\r\n[log] > fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :127.6/19.9/7.7\r\nXHR failed loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00034.ts\".\r\n[log] > switching to level 0\r\n[log] > SN just loaded, load next one: 34\r\n[log] > Loading 34 of [0 ,620],level 0, currentTime:319.102968,bufferEnd:338.932\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-200-00035.ts\".\r\n[log] > Demuxing 34 of [0 ,620],level 0\r\n[log] > parsed video,PTS:[338.981,348.950],DTS:[338.981/348.950],nb:239\r\n[log] > parsed audio,PTS:[338.640,348.694],DTS:[338.640/348.694],nb:433\r\n[log] > media buffered : [0.059466,348.685422]\r\n[log] > switching to level 6\r\n[log] > Loading 34 of [0 ,620],level 6, currentTime:319.126187,bufferEnd:348.985\r\n[warn] > loading too slow, abort fragment loading\r\n[log] > fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :108.7/19.9/6.7\r\nXHR failed loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00035.ts\".\r\n[log] > switching to level 0\r\n[log] > Loading 35 of [0 ,620],level 0, currentTime:329.156795,bufferEnd:348.985\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-200-00036.ts\".\r\n[log] > Demuxing 35 of [0 ,620],level 0\r\n[log] > parsed video,PTS:[348.950,358.918],DTS:[348.950/358.918],nb:239\r\n[log] > parsed audio,PTS:[348.694,358.888],DTS:[348.694/358.888],nb:439\r\n[log] > media buffered : [0.059466,358.878844]\r\n[log] > switching to level 6\r\n[log] > Loading 36 of [0 ,620],level 6, currentTime:329.156795,bufferEnd:359.179\r\n\r\n[warn] > loading too slow, abort fragment loading\r\n[log] > fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :206.9/19.9/12.2\r\nXHR failed loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00037.ts\".\r\n[log] > switching to level 0\r\n[log] > Loading 36 of [0 ,620],level 0, currentTime:339.349936,bufferEnd:359.179\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-200-00037.ts\".\r\n[log] > Demuxing 36 of [0 ,620],level 0\r\n[log] > parsed video,PTS:[358.918,368.886],DTS:[358.918/368.886],nb:239\r\n[log] > parsed audio,PTS:[358.888,368.895],DTS:[358.888/368.895],nb:431\r\n[log] > media buffered : [0.059466,368.881643]\r\n[log] > switching to level 6\r\n[log] > Loading 37 of [0 ,620],level 6, currentTime:339.373155,bufferEnd:369.182\r\n\r\n[warn] > loading too slow, abort fragment loading\r\n[log] > fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :130.5/19.9/7.9\r\nXHR failed loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00038.ts\".\r\n[log] > switching to level 0\r\n[log] > Loading 37 of [0 ,620],level 0, currentTime:349.334106,bufferEnd:369.182\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-200-00038.ts\".\r\n[log] > Demuxing 37 of [0 ,620],level 0\r\n[log] > parsed video,PTS:[368.886,378.855],DTS:[368.886/378.855],nb:239\r\n[log] > parsed audio,PTS:[368.895,378.578],DTS:[368.895/378.578],nb:417\r\n[log] > media buffered : [0.059466,378.569822]\r\n[log] > switching to level 6\r\n[log] > Loading 37 of [0 ,620],level 6, currentTime:349.357325,bufferEnd:378.870\r\n\r\n[warn] > loading too slow, abort fragment loading\r\n[log] > fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :126.5/19.9/13.6\r\nXHR failed loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00038.ts\".\r\n[log] > switching to level 1\r\n[log] > Loading 37 of [0 ,620],level 1, currentTime:359.039648,bufferEnd:378.870\r\n\r\n\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-400-00038.ts\".\r\n[log] > Demuxing 37 of [0 ,620],level 1\r\n[log] > playlist_level/init_segment codecs: video => undefined/avc1.42c00d; audio => undefined/mp4a.40.5\r\n[log] > parsed video,PTS:[368.886,378.855],DTS:[368.886/378.855],nb:239\r\n[log] > parsed audio,PTS:[368.895,378.578],DTS:[368.895/378.578],nb:417\r\n[log] > media buffered : [0.059466,378.569822]\r\n[log] > switching to level 0\r\n[log] > Loading 38 of [0 ,620],level 0, currentTime:369.859702,bufferEnd:378.870\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-200-00039.ts\".\r\n[log] > Demuxing 38 of [0 ,620],level 0\r\n[log] > playlist_level/init_segment codecs: video => undefined/avc1.42c00d; audio => undefined/mp4a.40.5\r\n[log] > parsed video,PTS:[378.855,388.823],DTS:[378.855/388.823],nb:239\r\n[log] > parsed audio,PTS:[378.578,388.563],DTS:[378.578/388.563],nb:430\r\n[log] > media buffered : [0.059466,388.554133]\r\n[log] > switching to level 6\r\n[log] > Loading 38 of [0 ,620],level 6, currentTime:369.882921,bufferEnd:388.854\r\n[warn] > loading too slow, abort fragment loading\r\n[log] > fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :148.2/13.9/8.6\r\nXHR failed loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00039.ts\".\r\n[log] > switching to level 0\r\n[log] > Loading 39 of [0 ,620],level 0, currentTime:375.037539,bufferEnd:388.854\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-200-00040.ts\".\r\n[log] > Demuxing 39 of [0 ,620],level 0\r\n[log] > parsed video,PTS:[388.823,398.791],DTS:[388.823/398.791],nb:239\r\n[log] > parsed audio,PTS:[388.563,398.454],DTS:[388.563/398.454],nb:426\r\n[log] > media buffered : [0.059466,398.445911]\r\n[log] > switching to level 6\r\n[log] > Loading 39 of [0 ,620],level 6, currentTime:375.060758,bufferEnd:398.746\r\n\r\n[warn] > loading too slow, abort fragment loading\r\n[log] > fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :566.2/18.6/32.1\r\nXHR failed loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00040.ts\".\r\n[log] > switching to level 0\r\n[log] > SN just loaded, load next one: 40\r\n[log] > Loading 40 of [0 ,620],level 0, currentTime:380.238595,bufferEnd:398.746\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-200-00041.ts\".\r\n[log] > Demuxing 40 of [0 ,620],level 0\r\n[log] > parsed video,PTS:[398.791,408.759],DTS:[398.791/408.759],nb:239\r\n[log] > parsed audio,PTS:[398.454,408.439],DTS:[398.454/408.439],nb:430\r\n[log] > media buffered : [0.059466,408.4304]\r\n[log] > switching to level 6\r\n[log] > Loading 40 of [0 ,620],level 6, currentTime:380.261814,bufferEnd:408.730\r\n[warn] > loading too slow, abort fragment loading\r\n[log] > fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :137.8/20.0/8.2\r\nXHR failed loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00041.ts\".\r\n[log] > switching to level 0\r\n[log] > SN just loaded, load next one: 41\r\n[log] > Loading 41 of [0 ,620],level 0, currentTime:388.852844,bufferEnd:408.730\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-200-00042.ts\".\r\n[log] > Demuxing 41 of [0 ,620],level 0\r\n[log] > parsed video,PTS:[408.759,418.728],DTS:[408.759/418.728],nb:239\r\n[log] > parsed audio,PTS:[408.439,418.424],DTS:[408.439/418.424],nb:430\r\n[log] > media buffered : [0.059466,418.414977]\r\n[log] > switching to level 6\r\n[log] > Loading 41 of [0 ,620],level 6, currentTime:388.852844,bufferEnd:418.715\r\n\r\n[warn] > loading too slow, abort fragment loading\r\n[log] > fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :179.4/20.0/10.6\r\nXHR failed loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00042.ts\".\r\n[log] > switching to level 0\r\n[log] > SN just loaded, load next one: 42\r\n[log] > Loading 42 of [0 ,620],level 0, currentTime:398.837014,bufferEnd:418.715\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-200-00043.ts\".\r\n[log] > Demuxing 42 of [0 ,620],level 0\r\n[log] > parsed video,PTS:[418.728,428.696],DTS:[418.728/428.696],nb:239\r\n[log] > parsed audio,PTS:[418.424,428.617],DTS:[418.424/428.617],nb:439\r\n[log] > media buffered : [0.059466,428.608355]\r\n[log] > switching to level 6\r\n[log] > Loading 42 of [0 ,620],level 6, currentTime:398.860233,bufferEnd:428.908\r\n\r\n[warn] > loading too slow, abort fragment loading\r\n[log] > fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :148.1/20.0/8.9\r\nXHR failed loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00043.ts\".\r\n[log] > switching to level 0\r\n[log] > Loading 43 of [0 ,620],level 0, currentTime:409.053374,bufferEnd:428.908\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-200-00044.ts\".\r\n[log] > Demuxing 43 of [0 ,620],level 0\r\n[log] > parsed video,PTS:[428.696,438.664],DTS:[428.696/438.664],nb:239\r\n[log] > parsed audio,PTS:[428.617,438.671],DTS:[428.617/438.671],nb:433\r\n[log] > media buffered : [0.059466,438.659688]\r\n[log] > switching to level 6\r\n[log] > Loading 43 of [0 ,620],level 6, currentTime:409.053374,bufferEnd:438.960\r\n\r\n[warn] > loading too slow, abort fragment loading\r\n[log] > fragLoadedDelay/bufferStarvationDelay/fragLevelNextLoadedDelay :216.2/19.9/12.7\r\nXHR failed loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00044.ts\".\r\n[log] > switching to level 0\r\n[log] > Loading 44 of [0 ,620],level 0, currentTime:419.13042,bufferEnd:438.960\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-200-00045.ts\".\r\n[log] > Demuxing 44 of [0 ,620],level 0\r\n[log] > parsed video,PTS:[438.664,448.633],DTS:[438.664/448.633],nb:239\r\n[log] > parsed audio,PTS:[438.671,448.424],DTS:[438.671/448.424],nb:420\r\n[log] > media buffered : [0.059466,448.415377]\r\n[log] > switching to level 6\r\n[log] > Loading 44 of [0 ,620],level 6, currentTime:419.153639,bufferEnd:448.715\r\n\r\nVIDEOJS: ERROR: (CODE:3 MEDIA_ERR_DECODE) The video playback was aborted due to a corruption problem or because the video used features your browser did not support. vjs.MediaError {code: 3, message: \"The video playback was aborted due to a corruption…video used features your browser did not support.\"}\r\n\r\n[log] > adjust currentTime from 0 to 0.059466\r\n\r\n\r\n[warn] > timeout while loading https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00045.ts\r\nXHR failed loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-4500-00045.ts\".\r\n[warn] > level controller,fragLoadTimeOut: emergency switch-down for next fragment\r\n[warn] > mediaController: frag loading failed, retry in 1000 ms\r\n[log] > mediaController: retryDate reached, switch back to IDLE state\r\n[log] > switching to level 0\r\n[log] > Loading 45 of [0 ,620],level 0, currentTime:0.059466,bufferEnd:448.715\r\nXHR finished loading: GET \"https://vhxstream-a.akamaihd.net/indiegame/videos/175/31345/hls-200-00046.ts\".\r\n[log] > Demuxing 45 of [0 ,620],level 0\r\n[log] > parsed video,PTS:[448.633,458.601],DTS:[448.633/458.601],nb:239\r\n[log] > parsed audio,PTS:[448.424,458.594],DTS:[448.424/458.594],nb:438\r\n[error] > trying to append although a media error occured, switch to ERROR state\r\n```\r\n\r\nAnd from chrome:media-internals:\r\n### player properties\r\n```\r\nrender_id: 689\r\nplayer_id: 36\r\npipeline_state: kStopped\r\nevent: PAUSE\r\nurl: blob:http%3A//player.crystal.dev/7e12e014-f4d8-4087-9f12-012058c053d0\r\ninfo: Video codec: avc1.42c0d\r\nfound_audio_stream: true\r\naudio_codec_name: aac\r\nduration: 6205\r\nfound_video_stream: true\r\nvideo_codec_name: h264\r\naudio_dds: false\r\naudio_decoder: FFmpegAudioDecoder\r\nvideo_dds: false\r\nvideo_decoder: GpuVideoDecoder\r\nseek_target: 0.05946600064635277\r\nheight: 224\r\nwidth: 400\r\ndebug: Skipping splice frame generation: first new buffer at 368895422us begins at or before existing buffer at 368895422us.\r\nerror: video decode error\r\npipeline_error: pipeline: decode error\r\n```\r\n\r\n### Log: \r\n```\r\n00:04:40 336\tinfo\tAudio codec: mp4a.40.2. Sampling frequency: 44100Hz. Sampling frequency(Extension): 44100Hz. Channel layout: 3.\r\n00:04:40 336\tinfo\tVideo codec: avc1.42c0d\r\n00:04:59 912\theight\t224\r\n00:04:59 912\twidth\t400\r\n00:05:26 428\tevent\tPAUSE\r\n00:05:27 91\tevent\tPLAY\r\n00:06:11 348\tinfo\tAudio codec: mp4a.40.2. Sampling frequency: 44100Hz. Sampling frequency(Extension): 44100Hz. Channel layout: 3.\r\n00:06:11 348\tinfo\tVideo codec: avc1.42c0d\r\n00:06:11 350\tdebug\tSkipping splice frame generation: first new buffer at 368895422us begins at or before existing buffer at 368895422us.\r\n00:06:11 365\tinfo\tAudio codec: mp4a.40.2. Sampling frequency: 44100Hz. Sampling frequency(Extension): 44100Hz. Channel layout: 3.\r\n00:06:11 365\tinfo\tVideo codec: avc1.42c0d\r\n00:07:06 289\terror\tvideo decode error\r\n00:07:06 299\tpipeline_error\tpipeline: decode error\r\n00:07:06 299\tpipeline_state\tkStopping\r\n00:07:06 300\tpipeline_state\tkStopped\r\n00:07:06 325\tseek_target\t0.05946600064635277\r\n00:07:07 550\tevent\tPAUSE\r\n```"},"comment":{"url":"https://api.github.com/repos/dailymotion/hls.js/issues/comments/173947909","html_url":"https://github.com/dailymotion/hls.js/issues/176#issuecomment-173947909","issue_url":"https://api.github.com/repos/dailymotion/hls.js/issues/176","id":173947909,"user":{"login":"mangui","id":1798553,"avatar_url":"https://avatars.githubusercontent.com/u/1798553?v=3","gravatar_id":"","url":"https://api.github.com/users/mangui","html_url":"https://github.com/mangui","followers_url":"https://api.github.com/users/mangui/followers","following_url":"https://api.github.com/users/mangui/following{/other_user}","gists_url":"https://api.github.com/users/mangui/gists{/gist_id}","starred_url":"https://api.github.com/users/mangui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangui/subscriptions","organizations_url":"https://api.github.com/users/mangui/orgs","repos_url":"https://api.github.com/users/mangui/repos","events_url":"https://api.github.com/users/mangui/events{/privacy}","received_events_url":"https://api.github.com/users/mangui/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T15:19:44Z","updated_at":"2016-01-22T15:19:44Z","body":"@davegonzalez \r\n I detected a corner case in NAL unit parsing with your stream.\r\nI was facing a blank screen with Chrome around 1mn10s on http://dailymotion.github.io/hls.js/demo/?src=https%3A%2F%2Fvhxstream-a.akamaihd.net%2Findiegame%2Fvideos%2F175%2F31345%2Fhls-200.m3u8&enableStreaming=true&autoRecoverError=true&enableWorker=true&levelCapping=-1 \r\n\r\nshould be gone now, could you recheck with latest hls/master ?"}}