Code Monkey home page Code Monkey logo

Comments (2)

eneim avatar eneim commented on June 1, 2024

@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.

chetanurmaliya avatar chetanurmaliya commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.