Search code examples
androidvideo-streamingandroid-videoview

How can i Implement a video player that handle video streaming in Android App


In my Android Application I want to reproduce the streaming videos. For now I currently use the video view but It might works better.. I have this problems :

  • some files it doesnt execute -> error (1 ,-1005)

  • video streaming buffering starts after long times

What do you suggest to use instead of videoview ?

I see more Applications that play streaming video inside the app without this problems, but I don't understand what they using for that result. Maybe webview with javascript player ???


Solution

  • If your min sdk is 16 and above use Exo player

    You will find detailed instructions here.