{"action":"created","issue":{"url":"https://api.github.com/repos/mangui/flashls/issues/176","labels_url":"https://api.github.com/repos/mangui/flashls/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/mangui/flashls/issues/176/comments","events_url":"https://api.github.com/repos/mangui/flashls/issues/176/events","html_url":"https://github.com/mangui/flashls/issues/176","id":53586227,"number":176,"title":"Playback freezes ","user":{"login":"stevemayhew","id":398072,"avatar_url":"https://avatars.githubusercontent.com/u/398072?v=3","gravatar_id":"","url":"https://api.github.com/users/stevemayhew","html_url":"https://github.com/stevemayhew","followers_url":"https://api.github.com/users/stevemayhew/followers","following_url":"https://api.github.com/users/stevemayhew/following{/other_user}","gists_url":"https://api.github.com/users/stevemayhew/gists{/gist_id}","starred_url":"https://api.github.com/users/stevemayhew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevemayhew/subscriptions","organizations_url":"https://api.github.com/users/stevemayhew/orgs","repos_url":"https://api.github.com/users/stevemayhew/repos","events_url":"https://api.github.com/users/stevemayhew/events{/privacy}","received_events_url":"https://api.github.com/users/stevemayhew/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mangui/flashls/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-07T01:22:16Z","updated_at":"2015-01-16T19:26:35Z","closed_at":null,"body":"Hi mangui!\r\nGlad you carried on after the licensing issues. We are most interested in the mediaelement shiv player.\r\n\r\nThis very short sample (AES encrpyted) is freezing on the chromeless test player on latest Chrome browser (Version 39.0.2171.95 (64-bit)) with the internal Chrome flash player.\r\n  http://flashls-test.s3.amazonaws.com/7_copy.m3u8\r\n \r\nNote you'll need my fix from: https://github.com/mangui/flashls/pull/175\r\nIn order to get it to play at all.\r\n\r\nLooks like it is having trouble with the third fragment:\r\n\r\n DEBUG:custom tag:#EXTINF:2,\r\n onFragmentPlaying(): metrics:1 sn:1 cc:0 video_width:1280 video_height:540 tags:#EXTINF:2,\r\n(26) DEBUG:AVC: AUD, SEI, SEI, SEI, NDR slices\r\nDEBUG:[PLAYBACK_STATE] from PLAYING to PLAYING_BUFFERING\r\n(80) DEBUG:AVC: AUD, SEI, SEI, SEI, NDR slices\r\nDEBUG:playing fragment(level/sn/cc):1/2/0\r\nDEBUG:custom tag:#EXTINF:2,\r\nonFragmentPlaying(): metrics:1 sn:2 cc:0 video_width:1280 video_height:540 tags:#EXTINF:2,\r\n(1270) DEBUG:AVC: AUD, SEI, SEI, SEI, NDR slices\r\n\r\nIt's stuck there for quite a while, then prints:\r\n DEBUG:25944 tags extracted\r\n DEBUG:Loaded position/duration/sliding/discontinuity:4.67/0.06/0.10/false\r\n DEBUG:AutoBufferManager:minBufferLength:60\r\n\r\nVideo stops last position report is 4.61.\r\n\r\nLet me know if I can help with anything else.  It does play in Safari."},"comment":{"url":"https://api.github.com/repos/mangui/flashls/issues/comments/70307696","html_url":"https://github.com/mangui/flashls/issues/176#issuecomment-70307696","issue_url":"https://api.github.com/repos/mangui/flashls/issues/176","id":70307696,"user":{"login":"stevemayhew","id":398072,"avatar_url":"https://avatars.githubusercontent.com/u/398072?v=3","gravatar_id":"","url":"https://api.github.com/users/stevemayhew","html_url":"https://github.com/stevemayhew","followers_url":"https://api.github.com/users/stevemayhew/followers","following_url":"https://api.github.com/users/stevemayhew/following{/other_user}","gists_url":"https://api.github.com/users/stevemayhew/gists{/gist_id}","starred_url":"https://api.github.com/users/stevemayhew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevemayhew/subscriptions","organizations_url":"https://api.github.com/users/stevemayhew/orgs","repos_url":"https://api.github.com/users/stevemayhew/repos","events_url":"https://api.github.com/users/stevemayhew/events{/privacy}","received_events_url":"https://api.github.com/users/stevemayhew/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T19:26:35Z","updated_at":"2015-01-16T19:26:35Z","body":"There is no IV specified in the EXT-X-KEY.\r\n\r\nThanks for you response!  And for merging my pull request.\r\n \r\nThe stream is encrypted using the segment number as the IV as in the spec: \r\n\r\n>\"If an EXT-X-KEY tag with a KEYFORMAT of \"identity\" does not have the\r\n>  IV attribute, implementations MUST use the sequence number of the\r\n>   media segment as the IV when encrypting or decrypting that media\r\n>   segment.  The big-endian binary representation of the sequence number\r\n>   SHALL be placed in a 16-octet buffer and padded (on the left) with\r\n>  zeros.\"\r\n\r\nThe stream does play in OSMF HLS Plugin and in Safari on OS X.\r\n\r\nI don't have the Adobe Scout, but if you can tell me which TS segment it thinks is bad I can decrypt and analyze it with an MPEGTS Packet analyzer.\r\n\r\nMore then happy to help you get to the bottom of this.\r\n"}}