Sandesh Lasnapure
Jul 29, 2017 · 1 min read

In my case I am adding three different urls 1) 720p url 2) 480p url 3) 360p url

using

MergingMediaSource mergedSource =
new MergingMediaSource(mediaSources);

In adaptive streaming its auto selecting url.

  1. I want to play only 720p url for first time, so how should I restrict that?
  2. I want to change source from 720p url to 320p url, how can I manually change media source from merging media source?
  3. In adaptive factory how can I get current track index?

I tried using FixedTrackSelection.Factory but no luck.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade