{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/3814","repository_url":"https://api.github.com/repos/google/ExoPlayer","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/3814/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/3814/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/3814/events","html_url":"https://github.com/google/ExoPlayer/issues/3814","id":295289461,"number":3814,"title":"Video freeze when player is invisible on the beginning on Sony TV (Android 7)","user":{"login":"tprochazka","id":172094,"avatar_url":"https://avatars1.githubusercontent.com/u/172094?v=4","gravatar_id":"","url":"https://api.github.com/users/tprochazka","html_url":"https://github.com/tprochazka","followers_url":"https://api.github.com/users/tprochazka/followers","following_url":"https://api.github.com/users/tprochazka/following{/other_user}","gists_url":"https://api.github.com/users/tprochazka/gists{/gist_id}","starred_url":"https://api.github.com/users/tprochazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tprochazka/subscriptions","organizations_url":"https://api.github.com/users/tprochazka/orgs","repos_url":"https://api.github.com/users/tprochazka/repos","events_url":"https://api.github.com/users/tprochazka/events{/privacy}","received_events_url":"https://api.github.com/users/tprochazka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-07T20:55:35Z","updated_at":"2018-02-09T14:22:01Z","closed_at":null,"author_association":"NONE","body":"I found the interesting problem on my Application.\r\nI set vSimpleExoPlayerView.setVisibility(View.INVISIBLE); for the player  and make it visible again just when buffering is done\r\n```\r\n    @Override\r\n    public void onPlayerStateChanged(boolean playWhenReady, int playbackState) {\r\n\r\n        if (playbackState == ExoPlayer.STATE_READY && vSimpleExoPlayerView.getVisibility() != View.VISIBLE) {\r\n            vSimpleExoPlayerView.postDelayed(new Runnable() {\r\n                @Override\r\n                public void run() {\r\n                    vSimpleExoPlayerView.setVisibility(View.VISIBLE);\r\n                }\r\n            }, 800);\r\n        }\r\n    }\r\n```\r\nI just don't want to have black square during the buffering.\r\n\r\nIt working completely fine on r2.5.1, but not on any later version including 2.5.1.\r\nIt just displays one video frame, the sound is OK, but the video is frozen.\r\nIt does not happen on my Phone, just on Sony Android TV.\r\n\r\nIt must cause some change between 2.5.1 and 2.5.2\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/364446630","html_url":"https://github.com/google/ExoPlayer/issues/3814#issuecomment-364446630","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/3814","id":364446630,"user":{"login":"AquilesCanta","id":8539544,"avatar_url":"https://avatars1.githubusercontent.com/u/8539544?v=4","gravatar_id":"","url":"https://api.github.com/users/AquilesCanta","html_url":"https://github.com/AquilesCanta","followers_url":"https://api.github.com/users/AquilesCanta/followers","following_url":"https://api.github.com/users/AquilesCanta/following{/other_user}","gists_url":"https://api.github.com/users/AquilesCanta/gists{/gist_id}","starred_url":"https://api.github.com/users/AquilesCanta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AquilesCanta/subscriptions","organizations_url":"https://api.github.com/users/AquilesCanta/orgs","repos_url":"https://api.github.com/users/AquilesCanta/repos","events_url":"https://api.github.com/users/AquilesCanta/events{/privacy}","received_events_url":"https://api.github.com/users/AquilesCanta/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T14:22:01Z","updated_at":"2018-02-09T14:22:01Z","author_association":"MEMBER","body":"Have you seen [this comment](https://github.com/google/ExoPlayer/issues/3160#issuecomment-339585240)? Could you try the proposed workaround and post the outcome below?"}}
{"actor":{"display_login":"AquilesCanta"}}