EMVideoView continue black or white seconds when activity resume
See original GitHub issue- I have verified there are no duplicate active or recent bugs, questions, or requests
Include the following:
- ExoMedia version:
3.0.5
- Device OS version:
5.1
- Devide Manufacturer:
Hisense
- Device Name:
Hisense E70-T
Reproduction Steps
1.VideoActivity onCreate:
emVideoView.setScaleType(ScaleType.NONE); emVideoView.setKeepScreenOn(true);
2.startActivity to another activity
Intent intent = new Intent(this, ProjectDetailsActivity.class); startActivity(intent);
3.press back key back to the VideoActivity,
Expected Result
the EMVideoView show video right immediately
Actual Result
the EMVideoView continue black or white seconds(audio is normal), after seconds, the EMVideoView show video right
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
Resume playing VideoView from onResume - android
When the email intent is done, I want the videoView to continue playing, however, it restarts from the beginning. @Override public void onPause()...
Read more >ExoMedia首页、文档和下载 - 开源中国
#345, EMVideoView continue black or white seconds when activity resume, by recwert 2022-11-03. #382, Player- once complete video again not ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I got the same issue. But why my last rendered frame is not visible after resuming the activity. You can observe this issue in all devices above 4.3. Even with demo app you will see the same issue.
Even though I have marked this as a
Bug
, I’m not sure if there is much I can do because of theSurfaceView
andTextureView
surface functionality and how the ExoPlayer (and other VideoPlayers) interact with them. I’ll see if there are any optimizations I can do to minimize the duration of the blank screen (this should just be the color of the activity or other views behind the EMVideoView bleeding through)