I am looking to implement Google's ExoPlayer
in my app. Their documentation seems pretty vague to me, and all I am looking for is to play a video from an URL, no complicated custom settings or anything like that. Haven't found any tutorials on how to do it. The example they have on git is way too complicated for what I need and, since I am new to video streaming, I did not understand much. All I have managed to do so far is to display a com.google.android.exoplayer.AspectRatioFrameLayout
.
Basically, I have an URL. I need to play the video, and handle onConfigurationChanged
when the user flips the screen.
Can anyone help?
exoplayer tutorial
on a major search engine turns up davekb.com/… and youtube.com/watch?v=6VjF638VObA. The ExoPlayer developers recommend reviewing their demo app. – Shahjahanpur