Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropped videos #83

Open
bobbyduhbrain opened this issue May 19, 2014 · 2 comments
Open

Dropped videos #83

bobbyduhbrain opened this issue May 19, 2014 · 2 comments

Comments

@bobbyduhbrain
Copy link

I've been pouring over the log4r debug logs trying to find out if there's a way to diagnose when a video has been dropped. I would say about 80% of the time the video will play just fine without any problems but after a while you will get a video that starts to play for about 30 seconds and simply drops.

I looked through the logs and couldn't find evidence as to what would cause the connection between the gem and the device to drop causing the video to cut short. In the past I know this was an issue (last August videos wouldn't play past 30 seconds).

I am wondering in your experience what were the symptoms of the problem that was causing the dropped videos several months ago. I'm hoping if I can identify when things go wrong that I can cache the position of the video being played and the media url and immediately resume playback.

@elcuervo
Copy link
Owner

I will be working this week to improve the gem portability and removing some of the extra layers of it.
My release plan is a 1.1 in the next two weeks and a 1.2 coming right next to it.

I think this is slightly related with Net::PTTH, which is going to be affected as well with this changes.

One thing you can do is to hook to the player#progress and get the latest position before drop.

@bobbyduhbrain
Copy link
Author

Good suggestion to use progress to track the state of the video being played. If I can find a way to diagnose the problem I will surely be able to pick up playback immediately using that method.

Thanks for your quick response tonight, I look forward to your next release with this gem. It has come a long way since last year! Cheers :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants