Comments (2)
@chetanurmaliya thanks for issue report. Sadly I could not test my lib under 2G connection, I will try it with some dev config later. One of the suggestion now is to disable the auto playback on low network connection. Please search for network state confirmation and then see how I temporary disable Toro or even permanently disable Toro. Hope this help.
I'm actively working on ver 2 of this lib, which will shift to ExoPlayer as playback backend. Hopefully I could release it soon. So please stay tune.
from toro.
For the low network i used Toro.setStrategy(REST);
After that auto play is stopped. But UI still hangs with log.
D/MediaPlayer: setDataSource IOException happend : java.io.FileNotFoundException: No content provider: http://xyz.s3.amazonaws.com/media/videos/VID_01d45ba7-4b14-4498-85af-124fccc8c4a8_1466684966053.mp4 at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1117) at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:970) at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:897) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1112) at im.ene.lab.toro.widget.ToroVideoView.openVideo(ToroVideoView.java:635) at im.ene.lab.toro.widget.ToroVideoView.access$2000(ToroVideoView.java:68) at im.ene.lab.toro.widget.ToroVideoView$8.onSurfaceTextureAvailable(ToroVideoView.java:289) at android.view.TextureView.getHardwareLayer(TextureView.java:370) at android.view.View.updateDisplayListIfDirty(View.java:15443) at android.view.View.getDisplayList(View.java:15488) at android.view.View.draw(View.java:16258) at android.view.ViewGroup.drawChild(ViewGroup.java:3713) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3506) at android.view.View.draw(View.java:16539) at android.view.View.updateDisplayListIfDirty(View.java:15466) at android.view.View.getDisplayList(View.java:15488) at android.view.View.draw(View.java:16258) at android.view.ViewGroup.drawChild(ViewGroup.java:3713) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3506) at android.view.View.updateDisplayListIfDirty(View.java:15461) at android.view.View.getDisplayList(View.java:15488) at android.view.View.draw(View.java:16258) at android.view.ViewGroup.drawChild(ViewGroup.java:3713) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3506) at android.view.View.draw(View.java:16539) at android.view.View.updateDisplayListIfDirty(View.java:15466) at android.view.View.getDisplayList(View.java:15488) at android.view.View.draw(View.java:16258) at android.view.ViewGroup.drawChild(ViewGroup.java:3713) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3506) at android.view.View.draw(View.java:16539) at android.widget.FrameLayout.draw(FrameLayout.java:598) at android.view.View.updateDisplayListIfDirty(View.java:15466) at android.view.View.getDisplayList(View.java:15488) at android.view.View.draw(View.java:16258) at android.view.ViewGroup.drawChild(ViewGroup.java:3713) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3506) at android.view.View.updateDisplayListIfDirty(View.java:15461) at android.view.View.getDisplayList(View.java:15488) at android.view.View.draw(View.java:16258) at android.view.ViewGroup.drawChild(ViewGroup.java:3713) at android.support.v7.widget.RecyclerView.drawChild(RecyclerView.java:3838) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3506) at android.view.View.draw(View.java:16539) at android.support.v7.widget.RecyclerView.draw(RecyclerView.java:3308) at android.view.View.updateDisplayListIfDirty(View.java:15466) at android.view.View.getDisplayList(View.java:15488) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3697) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3676) at android.view.View.updateDisplayListIfDirty(View.java:15426) at android.view.View.getDisplayList(View.java:15488) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3697) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3676) at android.view.View.updateDisplayListIfDirty(View.java:15426) at android.view.View.getDisplayList(View.java:15488) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3697) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3676) at android.view.View.updateDisplayListIfDirty(View.java:15426) at android.view.View.getDisplayList(View.java:15488) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3697) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3676) at android.view.View.updateDisplayListIfDirty(View.java:15426) at android.view.View.getDispl
from toro.
Related Issues (20)
- [Feature Request] Make Player attached to lifecycle HOT 2
- how to set player for a specific position in a container HOT 1
- Initialize() in VideoViewHolder is not getting called.
- Videos Start Playing onScroll even after pausing it manually in Container. HOT 3
- Loop video HOT 1
- Using Toro + ExoPlayer in Dynamic Feature Module HOT 1
- Pre-caching/Downloading progressive streams in ExoPlayer HOT 1
- App is crashing with the following error
- App is crashing with the following error HOT 5
- How to use ToroExoplayer inside view pager which is inside a container? HOT 1
- Custom MediaSource
- Hi,
- Video was playing continously in background even after opening bottom sheet
- Audio is playing but video shows black screen HOT 1
- [Bug report] Hls videos always picks the Highest quality stream intially HOT 5
- [Bug report] Crashed app com.google.android.exoplayer2.trackselection.DefaultTrackSelector HOT 2
- Wiki update
- Getting errors when running the project. HOT 10
- com.google.android.exoplayer2.video.VideoListener was removed in ExoPlayer 2.16.0, making this library incompatible HOT 2
- How to autoplay video viewpager (contain image/video) inside recyclerview
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toro.