CYMTV has developed an Android App that is installed on an Android Media Player and only does one thing: Play an OTT live video stream. The Media Players are placed in hotels worldwide so they can play the RTL TV channel on TV’s in the hotels.
The App can be turned off and on through a website. The app is connected to this website and checks if it is allowed to play or not, once in every hour.
For the playback of the video, the Goalbit Plus P2P SDK is used.
The problem:
Sometimes the Goalbit Plus SDK stops playback. It is unknown why this is.
In the App several things were added to monitor if the video is still playing or not, for example a screenshot is made every 20 seconds and compared to older screenshots to make sure that the video is still playing.
This is not working good enough and still sometimes the video stops.
The job:
Create code that makes sure the Goalbit Plus SDK keeps on playing, and/or if it stops, automatically restart it so the playing continues.