{"action":"closed","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/4565","repository_url":"https://api.github.com/repos/google/ExoPlayer","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/4565/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/4565/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/4565/events","html_url":"https://github.com/google/ExoPlayer/issues/4565","id":344046917,"node_id":"MDU6SXNzdWUzNDQwNDY5MTc=","number":4565,"title":"Freeze when playing IMA ads with mid-roll","user":{"login":"EusebioMorell","id":4706648,"node_id":"MDQ6VXNlcjQ3MDY2NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/4706648?v=4","gravatar_id":"","url":"https://api.github.com/users/EusebioMorell","html_url":"https://github.com/EusebioMorell","followers_url":"https://api.github.com/users/EusebioMorell/followers","following_url":"https://api.github.com/users/EusebioMorell/following{/other_user}","gists_url":"https://api.github.com/users/EusebioMorell/gists{/gist_id}","starred_url":"https://api.github.com/users/EusebioMorell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EusebioMorell/subscriptions","organizations_url":"https://api.github.com/users/EusebioMorell/orgs","repos_url":"https://api.github.com/users/EusebioMorell/repos","events_url":"https://api.github.com/users/EusebioMorell/events{/privacy}","received_events_url":"https://api.github.com/users/EusebioMorell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"andrewlewis","id":107897,"node_id":"MDQ6VXNlcjEwNzg5Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/107897?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewlewis","html_url":"https://github.com/andrewlewis","followers_url":"https://api.github.com/users/andrewlewis/followers","following_url":"https://api.github.com/users/andrewlewis/following{/other_user}","gists_url":"https://api.github.com/users/andrewlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewlewis/subscriptions","organizations_url":"https://api.github.com/users/andrewlewis/orgs","repos_url":"https://api.github.com/users/andrewlewis/repos","events_url":"https://api.github.com/users/andrewlewis/events{/privacy}","received_events_url":"https://api.github.com/users/andrewlewis/received_events","type":"User","site_admin":false},"assignees":[{"login":"andrewlewis","id":107897,"node_id":"MDQ6VXNlcjEwNzg5Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/107897?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewlewis","html_url":"https://github.com/andrewlewis","followers_url":"https://api.github.com/users/andrewlewis/followers","following_url":"https://api.github.com/users/andrewlewis/following{/other_user}","gists_url":"https://api.github.com/users/andrewlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewlewis/subscriptions","organizations_url":"https://api.github.com/users/andrewlewis/orgs","repos_url":"https://api.github.com/users/andrewlewis/repos","events_url":"https://api.github.com/users/andrewlewis/events{/privacy}","received_events_url":"https://api.github.com/users/andrewlewis/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-07-24T13:52:02Z","updated_at":"2018-08-28T07:37:16Z","closed_at":"2018-08-28T07:37:15Z","author_association":"NONE","body":"### Issue description\r\n\r\nWhen playing HLS live streams with IMA ads with pre-roll and mid-roll, ExoPlayer freezes at the beginning of the ad, in BUFFERING state. I expected the ad to be shown and the video to continue normally.\r\n\r\nIf calling 'seekTo' at the beginning, ExoPlayer manages to play the pre-roll ad, but it still freezes in the mid-roll ad.\r\n\r\nI reproduced this on \"demo-ima\" app.\r\n\r\n### Reproduction steps\r\n\r\nIn the 'demo-ima' app:\r\n\r\nModified the following lines in the 'strings.xml' file, like this:\r\n\r\n`<string name=\"content_url\"><![CDATA[http://skynews-go-hls.ak-cdn.skydvn.com/skynews/1404/latest.m3u8]]></string>`\r\n\r\n`<string name=\"ad_tag_url\"><![CDATA[https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/ad_rule_samples&ciu_szs=300x250&ad_rule=1&impl=s&gdfp_req=1&env=vp&output=vmap&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ar%3Dpremidpostpod&cmsid=496&vid=short_onecue&correlator=]]></string>`\r\n\r\nCalling 'seekTo' after 'setPlayWhenReady' may help to show the pre-roll, but will still freeze in mid-roll.\r\n\r\n### Link to test content\r\n\r\nHLS stream URL:\r\n\r\nhttp://skynews-go-hls.ak-cdn.skydvn.com/skynews/1404/latest.m3u8\r\n\r\nAds URLs:\r\n\r\nFrom IMA samples page: https://developers.google.com/interactive-media-ads/docs/sdks/html5/tags\r\n\r\nUsed \"VMAP Pre-, Mid-, and Post-rolls, Single Ads\":\r\n\r\n[VMAP Pre-, Mid-, and Post-rolls, Single Ads](https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/ad_rule_samples&ciu_szs=300x250&ad_rule=1&impl=s&gdfp_req=1&env=vp&output=vmap&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ar%3Dpremidpostpod&cmsid=496&vid=short_onecue&correlator=)\r\n\r\n### Version of ExoPlayer being used\r\n\r\nExoPlayer version 2.8.2.\r\n\r\n### Device(s) and version(s) of Android being used\r\n\r\nDevice: Motorola Phone (Moto G4).\r\nAndroid version: 6.0.1\r\n"}}
{"actor":{"display_login":"andrewlewis"}}