I am developing an app in which i am playing a video and then user can play audio music according to his mood and choice so basically i have a video file having extension .mp4 and its length is 30 sec and it acts like a screen saver. The video stop when user close app. And for music i am using some .mp3 files.All audio files are of one minutes or two so if the user run this app on Fire Tv say he run it for like 10 min so in 10 min video repeat 20 times and same case is with audio file but i am facing a serious issue this works fine for like 3 to 4 min and then video get stuck while audio is playing for 10 min but after 3 min video stuck. i did try to run every thing in thread play video to surface view instead of video view but same things happens so i need your help thanks.
Could you please provide us the following things? 1. The code snippet of how you are playing media (Audio and Video) 2. The video file that gets stuck while running. You can archive the files and put it in a shared storage and share the link with us. If you do not want to share it publicly, please file a ContactUs and mention there that you are redirected from this thread. Thanks.