How to make a Video Player using Native Android that have resolution switching ability like we see in YouTube?
问题 I want to use a video player eg. using ExoPlayer in android app which will support switching of resolution like we see in YouTube. My API have video files for 480p,720p,1080p. I want to give those options in the player and can switch it from the player itself and will play the respective files from URL. I have seen solutions like track selector etc,but does that work for online files? I have links like : www.example.com/videos/480/demo.mp4 www.example.com/videos/720/demo.mp4 www.example.com