I have created a sample project in choreograph which is responsible for playing a video on pepper's tablet, it works nicely in choreograph. now i packaged and uploaded it on the robot and called this behavior (by albehaviormanger) in my python code as following:
behaviormanager = session.service("ALBehaviorManager")
if (behaviormanager.isBehaviorRunning(choregraph_Code)):
behaviormanager.stopBehavior(choregraph_Code)
behaviormanager.runBehavior(choregraph_Code)
It works but sometimes the video stopped suddenly, in every single run in a different moment! so whats the problem with it?
also I tried to play videos from net by:
tabletService.enableWifi()
tabletService.loadUrl(url)
tabletService.showWebview()
but after some time it stops too
so does any one know what's a problem?