mediathekview / zapp

German public broadcasting live streams as an Android app
https://mediathekview.de/news/zapp/
MIT License
209 stars 34 forks source link

Playback not working on Cyanogenmod 12.1 #24

Closed Gyges88 closed 8 years ago

Gyges88 commented 8 years ago

Playback of any channel fails to start saying "Video kann nicht wiedergegeben werden". I'm using a Honor Holly (Hol-U19) with Cyanogenmod 12.1, without Gapps.

cemrich commented 8 years ago

Thank you for your bug report.

Which version of the app are you using? Can you provide the logcat messages (ChannelDetailActivity should log error details)?

rugk commented 8 years ago

Again make sure that this is not caused, because of geoblocking (https://github.com/cemrich/zapp/issues/28). However when you say it affects each channel, this usually does not apply.

Gyges88 commented 8 years ago

I'm located at Germany, so no geoblocking issue, I guess. I used v1.0.0 and 1.0.1 having this error message. I also tried v1.1.0. After hearing a sound for a fraction of a second the playback stops saying "Es gab einen Fehler beim Abspielen. Vielleicht besteht keine Internetverbindung." The logs don't seem to be useful, ChannelDetailActivity report no errors:

2016-10-06 05:07:07,INFORMATION,ActivityManager,Android-System,Displayed de.christinecoenen.code.zapp/.ChannelDetailActivity: +335ms 2016-10-06 05:07:07,INFORMATION,Timeline,Android-System,Timeline: Activity_windows_visible id: ActivityRecord{1ba3c435 u0 de.christinecoenen.code.zapp/.ChannelDetailActivity t2136} time:8201259 2016-10-06 05:07:08,DEBUG,ChannelDetailActivity,Zapp,play: Das Erste

However, once I got this Message: 2016-10-06 05:00:27,DEBUG,Cache,Zapp,cache miss: ZDF, show too old

Hope this helps!

cemrich commented 8 years ago

The error indicates that your Android Media Server died. The documentation on this error is not very helpful. My guess is that your internet connection might be a bit wonky or your phone can't handle the codec. You can share a stream if you press the menu button and click "Teilen". If other video apps can't play the stream either, this is no app bug but something related to your phone.

The "cache miss" message is unrelated to video playback.

Gyges88 commented 8 years ago

My internet connection is fine, but I've now tried VLC and Google Video Player. VLC just did audio, the latter did none. I guess you're right about the codec. I captured the VLC output:

Log-2016-10-12-12.50.36.txt

cemrich commented 8 years ago

Thank you for investigating this. Yes, this errors suggest a codec problem. It's a shame the android error messages are this imprecise...

In future releases I'll add a toubleshooting section (#36) so users can investigate why they have these problems.