{"action":"closed","issue":{"url":"https://api.github.com/repos/dailymotion/hls.js/issues/661","repository_url":"https://api.github.com/repos/dailymotion/hls.js","labels_url":"https://api.github.com/repos/dailymotion/hls.js/issues/661/labels{/name}","comments_url":"https://api.github.com/repos/dailymotion/hls.js/issues/661/comments","events_url":"https://api.github.com/repos/dailymotion/hls.js/issues/661/events","html_url":"https://github.com/dailymotion/hls.js/issues/661","id":174463522,"number":661,"title":"HLS.js does not play a specific VoD stream","user":{"login":"TomHetmer","id":5316250,"avatar_url":"https://avatars.githubusercontent.com/u/5316250?v=3","gravatar_id":"","url":"https://api.github.com/users/TomHetmer","html_url":"https://github.com/TomHetmer","followers_url":"https://api.github.com/users/TomHetmer/followers","following_url":"https://api.github.com/users/TomHetmer/following{/other_user}","gists_url":"https://api.github.com/users/TomHetmer/gists{/gist_id}","starred_url":"https://api.github.com/users/TomHetmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomHetmer/subscriptions","organizations_url":"https://api.github.com/users/TomHetmer/orgs","repos_url":"https://api.github.com/users/TomHetmer/repos","events_url":"https://api.github.com/users/TomHetmer/events{/privacy}","received_events_url":"https://api.github.com/users/TomHetmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dailymotion/hls.js/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-01T08:19:40Z","updated_at":"2016-09-05T12:00:52Z","closed_at":"2016-09-05T12:00:52Z","body":"<!-- If you are raising a bug playing a stream, you must fill out the following or your issue may not be responded to. For features or improvements, you may delete this. -->\r\n##### Environment\r\n<!-- Replace [ ] with [x] to check off the list -->\r\n- [x ] The stream has correct Access-Control-Allow-Origin headers (CORS)\r\n- [ x] There are no network errors such as 404s in the browser console when trying to play the stream\r\n- [ x] The issue observed is not already reported by searching on Github under https://github.com/dailymotion/hls.js/issues\r\n- [ x] The issue occurs in the latest reference client on http://dailymotion.github.io/hls.js/demo and not just on my page\r\n* Link to playable M3U8 file: http://wowza2-kavka.cdn77.eu:81/vod/22_JJhcKf_576p.mp4/index.m3u8\r\n* Hls.js version:  0.6.2-4 / 0.5.44\r\n* Browser name/version: Chrome 52.0.2743.116\r\n* OS name/version: Windows 10\r\n\r\n##### Actual behavior\r\nFrag Loop Loading Error,cannot recover, last media error recovery failed ...\r\ntoggle playback controls\r\n\r\n##### Console output\r\n```\r\nFailed to load resource: the server responded with a status of 404 (Not Found)\r\nhttp://localhost:8001/ Failed to load resource: net::ERR_CONNECTION_REFUSED\r\nlogger.js:37 [log] > loadSource:http://wowza2-kavka.cdn77.eu:81/vod/22_JJhcKf_576p.mp4/index.m3u8\r\nlogger.js:37 [log] > trigger BUFFER_RESET\r\nlogger.js:37 [log] > set autoLevelCapping:-1\r\nlogger.js:37 [log] > attachMedia\r\nlogger.js:37 [log] > manifest loaded,1 level(s) found, first bitrate:285000\r\nlogger.js:37 [log] > 2 sourceBuffer(s) expected\r\nlogger.js:37 [log] > startLoad\r\nlogger.js:37 [log] > engine state transition from undefined to STOPPED\r\nlogger.js:37 [log] > demuxing in webworker\r\nlogger.js:37 [log] > engine state transition from STOPPED to STARTING\r\nlogger.js:37 [log] > switching to level 0\r\nlogger.js:37 [log] > (re)loading playlist for level 0\r\nlogger.js:37 [log] > engine state transition from STARTING to WAITING_LEVEL\r\nlogger.js:37 [log] > audio tracks updated\r\nlogger.js:37 [log] > level 0 loaded [0,15],duration:62\r\nlogger.js:37 [log] > engine state transition from WAITING_LEVEL to IDLE\r\nlogger.js:37 [log] > media source opened\r\nlogger.js:37 [log] > startLoad\r\nlogger.js:37 [log] > engine state transition from IDLE to STOPPED\r\nlogger.js:37 [log] > demuxing in webworker\r\nlogger.js:37 [log] > engine state transition from STOPPED to STARTING\r\nlogger.js:37 [log] > engine state transition from STARTING to WAITING_LEVEL\r\nlogger.js:37 [log] > configure startPosition @-1\r\nlogger.js:37 [log] > engine state transition from WAITING_LEVEL to IDLE\r\nlogger.js:37 [log] > Loading 0 of [0 ,15],level 0, currentTime:-1,bufferEnd:-1.000\r\nlogger.js:37 [log] > engine state transition from IDLE to FRAG_LOADING\r\nlogger.js:37 [log] > Loaded  0 of level 0\r\nlogger.js:37 [log] > engine state transition from FRAG_LOADING to PARSING\r\nlogger.js:37 [log] > Demuxing 0 of [0 ,15],level 0, cc 0\r\nlogger.js:37 [log] > creating sourceBuffer with mimeType:audio/mp4;codecs=mp4a.40.2\r\nlogger.js:37 [log] > creating sourceBuffer with mimeType:video/mp4;codecs=avc1.4d001f\r\nlogger.js:37 [log] > main track:audio,container:audio/mp4,codecs[level/parsed]=[mp4a.40.2/mp4a.40.5]\r\nlogger.js:37 [log] > main track:video,container:video/mp4,codecs[level/parsed]=[avc1.4d001f/avc1.4d401f]\r\nlogger.js:37 [log] > parsed audio,PTS:[0.000,603.367],DTS:[0.000/603.367],nb:25985,dropped:0\r\nlogger.js:37 [log] > parsed video,PTS:[600.000,604.000],DTS:[600.000/604.000],nb:100,dropped:0\r\nlogger.js:37 [log] > engine state transition from PARSING to PARSED\r\nlogger.js:37 [log] > main buffered : [600,603.30213]\r\nlogger.js:37 [log] > engine state transition from PARSED to IDLE\r\nlogger.js:37 [log] > Loading 1 of [0 ,15],level 0, currentTime:604,bufferEnd:604.000\r\nlogger.js:37 [log] > engine state transition from IDLE to FRAG_LOADING\r\nlogger.js:37 [log] > target start position:-1\r\nlogger.js:37 [log] > target start position not buffered, seek to buffered.start(0) 600\r\nlogger.js:37 [log] > adjust currentTime from 0 to 600\r\nlogger.js:37 [log] > media seeking to 600\r\nlogger.js:37 [log] > media seeked to 600\r\nlogger.js:37 [log] > Loaded  1 of level 0\r\nlogger.js:37 [log] > engine state transition from FRAG_LOADING to PARSING\r\nlogger.js:37 [log] > Demuxing 1 of [0 ,15],level 0, cc 0\r\nlogger.js:37 [log] > parsed video,PTS:[604.000,608.000],DTS:[604.000/608.000],nb:100,dropped:0\r\nlogger.js:37 [log] > engine state transition from PARSING to PARSED\r\nlogger.js:37 [log] > main buffered : [600,603.30213]\r\nlogger.js:37 [log] > engine state transition from PARSED to IDLE\r\nlogger.js:37 [log] > Loading 0 of [0 ,15],level 0, currentTime:600.03244,bufferEnd:603.302\r\nlogger.js:37 [log] > engine state transition from IDLE to FRAG_LOADING\r\nlogger.js:37 [log] > Loaded  0 of level 0\r\nlogger.js:37 [log] > engine state transition from FRAG_LOADING to PARSING\r\nlogger.js:37 [log] > Demuxing 0 of [0 ,15],level 0, cc 0\r\nlogger.js:37 [log] > parsed audio,PTS:[0.000,603.367],DTS:[0.000/603.367],nb:25985,dropped:0\r\nlogger.js:37 [log] > parsed video,PTS:[600.000,604.000],DTS:[600.000/604.000],nb:100,dropped:0\r\nlogger.js:37 [log] > engine state transition from PARSING to PARSED\r\nlogger.js:37 [log] > main buffered : [600,603.30213]\r\nlogger.js:37 [log] > engine state transition from PARSED to IDLE\r\nlogger.js:37 [log] > SN just loaded, load next one: 1\r\nlogger.js:37 [log] > Loading 1 of [0 ,15],level 0, currentTime:600.452194,bufferEnd:603.302\r\nlogger.js:37 [log] > engine state transition from IDLE to FRAG_LOADING\r\nlogger.js:37 [log] > Loaded  1 of level 0\r\nlogger.js:37 [log] > engine state transition from FRAG_LOADING to PARSING\r\nlogger.js:37 [log] > Demuxing 1 of [0 ,15],level 0, cc 0\r\nlogger.js:37 [log] > parsed video,PTS:[604.000,608.000],DTS:[604.000/608.000],nb:100,dropped:0\r\nlogger.js:37 [log] > engine state transition from PARSING to PARSED\r\nlogger.js:37 [log] > main buffered : [600,603.30213]\r\nlogger.js:37 [log] > engine state transition from PARSED to IDLE\r\nlogger.js:37 [log] > Loading 0 of [0 ,15],level 0, currentTime:600.471167,bufferEnd:603.302\r\nlogger.js:37 [log] > engine state transition from IDLE to FRAG_LOADING\r\nlogger.js:37 [log] > Loaded  0 of level 0\r\nlogger.js:37 [log] > engine state transition from FRAG_LOADING to PARSING\r\nlogger.js:37 [log] > Demuxing 0 of [0 ,15],level 0, cc 0\r\nlogger.js:37 [log] > parsed audio,PTS:[0.000,603.367],DTS:[0.000/603.367],nb:25985,dropped:0\r\nlogger.js:37 [log] > parsed video,PTS:[600.000,604.000],DTS:[600.000/604.000],nb:100,dropped:0\r\nlogger.js:37 [log] > engine state transition from PARSING to PARSED\r\nlogger.js:37 [log] > main buffered : [600,603.30213]\r\nlogger.js:37 [log] > engine state transition from PARSED to IDLE\r\nlogger.js:37 [log] > SN just loaded, load next one: 1\r\nlogger.js:37 [log] > Loading 1 of [0 ,15],level 0, currentTime:601.085442,bufferEnd:603.302\r\nlogger.js:37 [log] > engine state transition from IDLE to FRAG_LOADING\r\nlogger.js:37 [log] > Loaded  1 of level 0\r\nlogger.js:37 [log] > engine state transition from FRAG_LOADING to PARSING\r\nlogger.js:37 [log] > Demuxing 1 of [0 ,15],level 0, cc 0\r\nlogger.js:37 [log] > parsed video,PTS:[604.000,608.000],DTS:[604.000/608.000],nb:100,dropped:0\r\nlogger.js:37 [log] > engine state transition from PARSING to PARSED\r\nlogger.js:37 [log] > main buffered : [600,603.30213]\r\nlogger.js:37 [log] > engine state transition from PARSED to IDLE\r\nlogger.js:37 [log] > Loading 0 of [0 ,15],level 0, currentTime:601.101882,bufferEnd:603.302\r\nlogger.js:37 [error] > cannot recover fragLoopLoadingError error(anonymous function) @ logger.js:37\r\nlogger.js:37 [log] > engine state transition from IDLE to ERROR\r\nlogger.js:37 [warn] > mediaController: fragLoopLoadingError while loading frag,switch to ERROR state ...\r\nlogger.js:37 [log] > recoverMediaError\r\nlogger.js:37 [log] > detachMedia\r\nlogger.js:37 [log] > media source detaching\r\nlogger.js:37 [log] > engine state transition from ERROR to STOPPED\r\nlogger.js:37 [log] > attachMedia\r\n?src=http%3A%2F%2Fwowza2-kavka.cdn77.eu%3A81%2Fvod%2F22_JJhcKf_576p.mp4%2Findex.m3u8&enableStreamin…:543 MediaSource detached...\r\nlogger.js:37 [log] > engine state transition from STOPPED to ERROR\r\nlogger.js:37 [warn] > mediaController: fragLoopLoadingError while loading frag,switch to ERROR state ...\r\nlogger.js:37 [log] > swapAudioCodec\r\nlogger.js:37 [log] > recoverMediaError\r\nlogger.js:37 [log] > detachMedia\r\nlogger.js:37 [log] > media source detaching\r\nlogger.js:37 [log] > engine state transition from ERROR to STOPPED\r\nlogger.js:37 [log] > attachMedia\r\n?src=http%3A%2F%2Fwowza2-kavka.cdn77.eu%3A81%2Fvod%2F22_JJhcKf_576p.mp4%2Findex.m3u8&enableStreamin…:543 MediaSource detached...\r\nlogger.js:37 [log] > media source opened\r\nlogger.js:37 [log] > startLoad\r\nlogger.js:37 [log] > demuxing in webworker\r\nlogger.js:37 [log] > configure startPosition @601.099966\r\nlogger.js:37 [log] > resuming video\r\nlogger.js:37 [log] > engine state transition from STOPPED to IDLE\r\nlogger.js:37 [log] > switching to level 0\r\nlogger.js:37 [log] > Loading 0 of [0 ,15],level 0, currentTime:601.099966,bufferEnd:601.100\r\nlogger.js:37 [log] > engine state transition from IDLE to FRAG_LOADING\r\nlogger.js:37 [log] > configure startPosition @-1\r\nlogger.js:37 [log] > Loaded  0 of level 0\r\nlogger.js:37 [log] > engine state transition from FRAG_LOADING to PARSING\r\nlogger.js:37 [log] > swapping playlist audio codec\r\nlogger.js:37 [log] > Demuxing 0 of [0 ,15],level 0, cc 0\r\n?src=http%3A%2F%2Fwowza2-kavka.cdn77.eu%3A81%2Fvod%2F22_JJhcKf_576p.mp4%2Findex.m3u8&enableStreamin…:783 Uncaught InvalidStateError: Failed to read the 'buffered' property from 'SourceBuffer': This SourceBuffer has been removed from the parent media source.\r\nlogger.js:37 [log] > swapping playlist audio codec\r\nlogger.js:37 [log] > creating sourceBuffer with mimeType:audio/mp4;codecs=mp4a.40.5\r\nlogger.js:37 [log] > creating sourceBuffer with mimeType:video/mp4;codecs=avc1.4d001f\r\nlogger.js:37 [log] > main track:audio,container:audio/mp4,codecs[level/parsed]=[mp4a.40.5/mp4a.40.5]\r\nlogger.js:37 [log] > main track:video,container:video/mp4,codecs[level/parsed]=[avc1.4d001f/avc1.4d401f]\r\nlogger.js:37 [log] > parsed audio,PTS:[0.000,603.367],DTS:[0.000/603.367],nb:25985,dropped:0\r\nlogger.js:37 [log] > parsed video,PTS:[600.000,604.000],DTS:[600.000/604.000],nb:100,dropped:0\r\nlogger.js:37 [log] > engine state transition from PARSING to PARSED\r\nlogger.js:37 [log] > main buffered : [600,603.30213]\r\nlogger.js:37 [log] > engine state transition from PARSED to IDLE\r\nlogger.js:37 [log] > Loading 1 of [0 ,15],level 0, currentTime:604,bufferEnd:604.000\r\nlogger.js:37 [log] > engine state transition from IDLE to FRAG_LOADING\r\nlogger.js:37 [log] > target start position:601.099966\r\nlogger.js:37 [log] > adjust currentTime from 0 to 601.099966\r\nlogger.js:37 [log] > media seeking to 601.099966\r\nlogger.js:37 [log] > Loaded  1 of level 0\r\nlogger.js:37 [log] > engine state transition from FRAG_LOADING to PARSING\r\nlogger.js:37 [log] > swapping playlist audio codec\r\nlogger.js:37 [log] > Demuxing 1 of [0 ,15],level 0, cc 0\r\nlogger.js:37 [log] > parsed video,PTS:[604.000,608.000],DTS:[604.000/608.000],nb:100,dropped:0\r\nlogger.js:37 [log] > engine state transition from PARSING to PARSED\r\nlogger.js:37 [log] > main buffered : [600,603.30213]\r\nlogger.js:37 [log] > engine state transition from PARSED to IDLE\r\nlogger.js:37 [log] > Loading 0 of [0 ,15],level 0, currentTime:601.099966,bufferEnd:603.302\r\nlogger.js:37 [log] > engine state transition from IDLE to FRAG_LOADING\r\nlogger.js:37 [log] > Loaded  0 of level 0\r\nlogger.js:37 [log] > engine state transition from FRAG_LOADING to PARSING\r\nlogger.js:37 [log] > swapping playlist audio codec\r\nlogger.js:37 [log] > Demuxing 0 of [0 ,15],level 0, cc 0\r\nlogger.js:37 [log] > media seeked to 601.099966\r\nlogger.js:37 [log] > parsed audio,PTS:[0.000,603.367],DTS:[0.000/603.367],nb:25985,dropped:0\r\nlogger.js:37 [log] > parsed video,PTS:[600.000,604.000],DTS:[600.000/604.000],nb:100,dropped:0\r\nlogger.js:37 [log] > engine state transition from PARSING to PARSED\r\nlogger.js:37 [log] > main buffered : [600,603.30213]\r\nlogger.js:37 [log] > engine state transition from PARSED to IDLE\r\nlogger.js:37 [log] > SN just loaded, load next one: 1\r\nlogger.js:37 [log] > Loading 1 of [0 ,15],level 0, currentTime:601.529226,bufferEnd:603.302\r\nlogger.js:37 [log] > engine state transition from IDLE to FRAG_LOADING\r\nlogger.js:37 [log] > Loaded  1 of level 0\r\nlogger.js:37 [log] > engine state transition from FRAG_LOADING to PARSING\r\nlogger.js:37 [log] > swapping playlist audio codec\r\nlogger.js:37 [log] > Demuxing 1 of [0 ,15],level 0, cc 0\r\nlogger.js:37 [log] > parsed video,PTS:[604.000,608.000],DTS:[604.000/608.000],nb:100,dropped:0\r\nlogger.js:37 [log] > engine state transition from PARSING to PARSED\r\nlogger.js:37 [log] > main buffered : [600,603.30213]\r\nlogger.js:37 [log] > engine state transition from PARSED to IDLE\r\nlogger.js:37 [log] > Loading 0 of [0 ,15],level 0, currentTime:601.546407,bufferEnd:603.302\r\nlogger.js:37 [log] > engine state transition from IDLE to FRAG_LOADING\r\nlogger.js:37 [log] > Loaded  0 of level 0\r\nlogger.js:37 [log] > engine state transition from FRAG_LOADING to PARSING\r\nlogger.js:37 [log] > swapping playlist audio codec\r\nlogger.js:37 [log] > Demuxing 0 of [0 ,15],level 0, cc 0\r\nlogger.js:37 [log] > parsed audio,PTS:[0.000,603.367],DTS:[0.000/603.367],nb:25985,dropped:0\r\nlogger.js:37 [log] > parsed video,PTS:[600.000,604.000],DTS:[600.000/604.000],nb:100,dropped:0\r\nlogger.js:37 [log] > engine state transition from PARSING to PARSED\r\nlogger.js:37 [log] > main buffered : [600,603.30213]\r\nlogger.js:37 [log] > engine state transition from PARSED to IDLE\r\nlogger.js:37 [log] > SN just loaded, load next one: 1\r\nlogger.js:37 [log] > Loading 1 of [0 ,15],level 0, currentTime:602.14255,bufferEnd:603.302\r\nlogger.js:37 [log] > engine state transition from IDLE to FRAG_LOADING\r\nlogger.js:37 [log] > Loaded  1 of level 0\r\nlogger.js:37 [log] > engine state transition from FRAG_LOADING to PARSING\r\nlogger.js:37 [log] > swapping playlist audio codec\r\nlogger.js:37 [log] > Demuxing 1 of [0 ,15],level 0, cc 0\r\nlogger.js:37 [log] > parsed video,PTS:[604.000,608.000],DTS:[604.000/608.000],nb:100,dropped:0\r\nlogger.js:37 [log] > engine state transition from PARSING to PARSED\r\nlogger.js:37 [log] > main buffered : [600,603.30213]\r\nlogger.js:37 [log] > engine state transition from PARSED to IDLE\r\nlogger.js:37 [log] > Loading 0 of [0 ,15],level 0, currentTime:602.151798,bufferEnd:603.302\r\nlogger.js:37 [error] > cannot recover fragLoopLoadingError error(anonymous function) @ logger.js:37\r\nlogger.js:37 [log] > engine state transition from IDLE to ERROR\r\nlogger.js:37 [warn] > mediaController: fragLoopLoadingError while loading frag,switch to ERROR state ...\r\n2?src=http%3A%2F%2Fwowza2-kavka.cdn77.eu%3A81%2Fvod%2F22_JJhcKf_576p.mp4%2Findex.m3u8&enableStreamin…:543 Frag Loop Loading Error,cannot recover, last media error recovery failed ...\r\nlogger.js:37 [log] > playback seems stuck @603.300424\r\n```\r\n\r\n```\r\nFor media errors reported on Chrome browser, please also paste the output of chrome://media-internals \r\n00:00:00 00\tpipeline_state\tkCreated\r\n00:00:00 00\tevent\tWEBMEDIAPLAYER_CREATED\r\n00:00:00 00\turl\tblob:http://dailymotion.github.io/9fe4cb63-81a8-4834-8160-a1053b166fd3\r\n00:00:00 00\tpipeline_state\tkInitDemuxer\r\n00:00:00 205\tinfo\tAudio codec: mp4a.40.2. Sampling frequency: 44100Hz. Sampling frequency(Extension): 88200Hz. Channel layout: 3.\r\n00:00:00 205\tfound_audio_stream\ttrue\r\n00:00:00 205\taudio_codec_name\taac\r\n00:00:00 205\tduration\t62\r\n00:00:00 206\tinfo\tVideo codec: avc1.4D401F\r\n00:00:00 206\tfound_video_stream\ttrue\r\n00:00:00 206\tvideo_codec_name\th264\r\n00:00:00 206\tpipeline_state\tkInitRenderer\r\n00:00:00 206\taudio_dds\tfalse\r\n00:00:00 206\taudio_decoder\tFFmpegAudioDecoder\r\n00:00:00 222\tvideo_dds\tfalse\r\n00:00:00 222\tvideo_decoder\tGpuVideoDecoder\r\n00:00:00 222\tpipeline_state\tkPlaying\r\n00:00:00 523\tdebug\tDetected AAC midstream configuration change PTS:0 Sample Rate: 44100 vs 88200, ChannelLayout: 3 vs 3, Channels: 2 vs 2\r\n00:00:00 524\tduration\t338.121903\r\n00:00:00 566\tduration\t603.30213\r\n00:00:00 569\tduration\t603.6\r\n00:00:00 570\tduration\t604\r\n00:00:00 571\tpipeline_state\tkSeeking\r\n00:00:00 573\tpipeline_state\tkPlaying\r\n00:00:00 597\tduration\t607.6\r\n00:00:00 598\tduration\t608\r\n00:00:00 653\tevent\tPLAY\r\n00:00:01 39\tdebug\tSkipping splice frame generation: first new buffer at 0us begins at or before existing buffer at 0us.\r\n00:00:01 121\tdebug\tSkipping splice frame generation: first new buffer at 338121904us begins at or before existing buffer at 338121904us.\r\n00:00:01 651\tdebug\tSkipping splice frame generation: first new buffer at 0us begins at or before existing buffer at 0us.\r\n00:00:01 738\tdebug\tSkipping splice frame generation: first new buffer at 338121904us begins at or before existing buffer at 338121904us.\r\n```\r\n"}}
{"actor":{"display_login":"TomHetmer"}}