-
Notifications
You must be signed in to change notification settings - Fork 8
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
Time out when trying to watch episodes from Australia #18
Comments
I'm sorry to hear you are experiencing timeouts. I am also on 10.1.1 and we use the app almost daily but it's all working fine for me, no issues here. To rule out that things changed on the end of the Dutch public broadcaster: does watching videos directly from the website work for you? Are you sure you are not experiencing #16 ? |
We have reverted to watching the iPad and AirPlay. That still works, though seems to take more time to get started (we are in a rural area with slow Internet so the initial wait can run into close to a minute) and can get quite pixellated. But it works. I will try the delete and reinstall trick next. I assumed that recompiling and overwriting the app would also clear the cache, but maybe I was wrong about that. |
Realm does clean up its transaction log on launch, but if #16 occurs it cannot clean up anymore. I have not experienced the issue anymore since 1.2.0 but you never know. I suspect this is not happening to you as you are able to use the app. It sounds like the delay might be caused by the latency in the internet connection, did you see any other video playing apps on Apple TV fail playing back since tvOS 10.1.1? The app is using the built in video player, perhaps Apple changed something in 10.1.1. Unfortunately I do not have any control on how they handle timeouts in the video player, perhaps they changed something in the video player's implementation? I can't seem to find any -recent- issues regarding AVPlayer timeouts on Apple's developer forums... |
All other video playing apps work fine: Netflix, iTunes, Stan, TED, ... What I see in the uitzendinggemist app is the wait-cursor (the rotating stripes) then a brief flash of black screen with a tiny symbol, like a stop-sign in the left-hand corner, then it goes back to the wait cursor. I will try deinstalling and reinstalling to see if I can get it to work, but I do not feel too hopeful. Is there any way to debug this to get more information on where exactly things fail? |
When you deploy Uitzending Gemist to your Apple TV and leave the Apple TV connected to your Mac with Xcode open, you should see debug output in the debug panel. Do you see any errors when trying to play back videos? You can also try running in the simulator without deploying onto your Apple TV and inspecting the debug panel for errors: Some questions: does this happen for watching episodes as well as live tv / themed channels? Do the YouTube video's play (for example those for the 'Zondag met Lubach' program)? |
I will have a look tomorrow - or later in the week depending on available time. It's way past my bedtime here in Australia now ;-). |
Haha, that happens to me too often as well ;) Have a good night! |
I'm beginning to suspect it could be a firewall issue. I am using Cujo (www.getcujo.com) to monitor my network for potential threats and block access to suspected sites. Looking at the Cujo log files it seems the AppleTV is accessing some suspected sites when retrieving episodes from the uitzendinggemist website. This could mean their site has been reported as housing malware or viruses. I will take the AppleTV out of Cujo's reach to see if that makes any difference. Don't know yet when I get around to this: family will arrive soon, expecting to be entertained for the coming 7 days ;-). |
Yup. Definitely firewall related. Not quite sure what is causing the problem exactly, but when I turn the firewall off everything works as expected. I wonder what changed: is tvOS 10.1.1 the cause, or was that just a freaky coincidence? I don't like turning off the firewall but for the sake of watching Uitzending Gemist I will risk being hacked by Russian/American/Jihadist/Alien (pick whatever scares you most) nerds hoping to use information about my viewing patterns to blackmail me in the future. |
Ah, that might indeed be possible. The URL patterns you can expect the app to call are:
So if you exclude these from the firewall rules for your Apple TV it should work. But it's indeed strange this popped up after the TV OS 10.1.1 update? I would be curious to know what triggered this :) |
Thanks. That might help finding the offending IP address(es). |
I will add those to the readme as others might stumble on this issue as well... I'm glad you found the cause ;) One side note is that the URLs for the video and image content for both the NPO as well as YouTube come from the APIs, so while unlikely, they might change in the future. Keep in mind that videos stop working or images stop loading that perhaps the content is coming from different URLs. |
I assume this issue is solved, so I'll close it for now... |
Since updating to tvOS 10.1.1 we can't watch anything anymore. It looks like we get a timeout on every episode we are trying to watch.
The text was updated successfully, but these errors were encountered: