{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/3675","repository_url":"https://api.github.com/repos/google/ExoPlayer","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/3675/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/3675/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/3675/events","html_url":"https://github.com/google/ExoPlayer/issues/3675","id":286556723,"number":3675,"title":"issue with tunneled playback","user":{"login":"ErezNe","id":28691384,"avatar_url":"https://avatars0.githubusercontent.com/u/28691384?v=4","gravatar_id":"","url":"https://api.github.com/users/ErezNe","html_url":"https://github.com/ErezNe","followers_url":"https://api.github.com/users/ErezNe/followers","following_url":"https://api.github.com/users/ErezNe/following{/other_user}","gists_url":"https://api.github.com/users/ErezNe/gists{/gist_id}","starred_url":"https://api.github.com/users/ErezNe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErezNe/subscriptions","organizations_url":"https://api.github.com/users/ErezNe/orgs","repos_url":"https://api.github.com/users/ErezNe/repos","events_url":"https://api.github.com/users/ErezNe/events{/privacy}","received_events_url":"https://api.github.com/users/ErezNe/received_events","type":"User","site_admin":false},"labels":[{"id":258839460,"url":"https://api.github.com/repos/google/ExoPlayer/labels/device%20specific%20issue","name":"device specific issue","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"ojw28","id":7881572,"avatar_url":"https://avatars1.githubusercontent.com/u/7881572?v=4","gravatar_id":"","url":"https://api.github.com/users/ojw28","html_url":"https://github.com/ojw28","followers_url":"https://api.github.com/users/ojw28/followers","following_url":"https://api.github.com/users/ojw28/following{/other_user}","gists_url":"https://api.github.com/users/ojw28/gists{/gist_id}","starred_url":"https://api.github.com/users/ojw28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojw28/subscriptions","organizations_url":"https://api.github.com/users/ojw28/orgs","repos_url":"https://api.github.com/users/ojw28/repos","events_url":"https://api.github.com/users/ojw28/events{/privacy}","received_events_url":"https://api.github.com/users/ojw28/received_events","type":"User","site_admin":false},"assignees":[{"login":"ojw28","id":7881572,"avatar_url":"https://avatars1.githubusercontent.com/u/7881572?v=4","gravatar_id":"","url":"https://api.github.com/users/ojw28","html_url":"https://github.com/ojw28","followers_url":"https://api.github.com/users/ojw28/followers","following_url":"https://api.github.com/users/ojw28/following{/other_user}","gists_url":"https://api.github.com/users/ojw28/gists{/gist_id}","starred_url":"https://api.github.com/users/ojw28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojw28/subscriptions","organizations_url":"https://api.github.com/users/ojw28/orgs","repos_url":"https://api.github.com/users/ojw28/repos","events_url":"https://api.github.com/users/ojw28/events{/privacy}","received_events_url":"https://api.github.com/users/ojw28/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-01-07T09:31:54Z","updated_at":"2018-05-08T15:57:44Z","closed_at":null,"author_association":"NONE","body":"\r\n\r\n### Issue description\r\nIf I activate tunneled playback on standard exoplayer 2.5.4 with following line: \r\ntrackSelector.setTunnelingAudioSessionId( C.generateAudioSessionIdV21( this ) );\r\n\r\ncalled just after:\r\ntrackSelector = new DefaultTrackSelector(adaptiveTrackSelectionFactory);\r\nin function initializePlayer.\r\n\r\nI playback the Widevine DASH: MP4,H265 / Wv: Secure HD content, after seek I got a playback freeze. This is also reproduce inside of my app. I deactivate ( setTunnelingAudioSessionId ), It solves the problem.\r\n\r\nwhen Video tunnel is  enable I can observer the following phenomenon：\r\n\r\n( 1）video tunnel mode playback work successfully. No any abnormal.\r\n( 2 ) There are two cases if we do seek\r\n\r\nvideo freeze 3~10 seconds and when recovery playback. It is dependent on when ACode send es data to omx side\r\nvideo freeze and don't recovery. I check this case and it is caused by no video data send to omx side(exoplayer UI also can display no any data send to low level side).\r\n\r\n\r\nI also add the following patch (and it did not solve the problem) :\r\n\r\nMediacodecVideoRender.java\r\nprotected void onQueueInputBuffer(DecoderInputBuffer buffer) {\r\nif (Util.SDK_INT < 23 && tunneling) {\r\nif (Util.SDK_INT >= 21 && tunneling) {\r\nmaybeNotifyRenderedFirstFrame(); // exoplayer need this notify in tunnel mode to set the renderedFirstFrame to true , otherwise the //MediacodecVideoRender will be never ready.\r\n}\r\n}\r\n\r\n\r\nIt seems that this issue is caused by exo-player's when it do seeking at tunnel mode. Exo-player pause but don't start after it do seeking.\r\n\r\n\r\n### Link to test content\r\nfor send you a link I need your public IP due to GeoBlocking on my system\r\nPlease send it to my private mail \r\n\r\n### Version of ExoPlayer being used\r\nExo ver 2.5.4\r\n\r\n### Device(s) and version(s) of Android being used\r\nIt was test on Technicolor STB with Synaptics's SoC \r\n\r\nThx\r\nErez\r\n"},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/387452521","html_url":"https://github.com/google/ExoPlayer/issues/3675#issuecomment-387452521","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/3675","id":387452521,"user":{"login":"ojw28","id":7881572,"avatar_url":"https://avatars1.githubusercontent.com/u/7881572?v=4","gravatar_id":"","url":"https://api.github.com/users/ojw28","html_url":"https://github.com/ojw28","followers_url":"https://api.github.com/users/ojw28/followers","following_url":"https://api.github.com/users/ojw28/following{/other_user}","gists_url":"https://api.github.com/users/ojw28/gists{/gist_id}","starred_url":"https://api.github.com/users/ojw28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojw28/subscriptions","organizations_url":"https://api.github.com/users/ojw28/orgs","repos_url":"https://api.github.com/users/ojw28/repos","events_url":"https://api.github.com/users/ojw28/events{/privacy}","received_events_url":"https://api.github.com/users/ojw28/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T15:57:44Z","updated_at":"2018-05-08T15:57:44Z","author_association":"CONTRIBUTOR","body":"The tunneled output path is mostly the responsibility of the device manufacturer. I'd suggest reporting the issue to Technicolor/Synaptics."}}
{"actor":{"display_login":"ojw28"}}