title: How to play only specific bitrate with dash js audio player?
body: <p>I am using dash.js library and achieving Adaptive bitrate with DASH protocol for my audio player.</p>
  
  <p>I am facing issue in one of the case, when instead of changing bit rate adaptively, I want to be it specific i.e. 320 kbps. I am using methods which are provided in dash.js library as following.But not able to get a static bitrate segment for my whole audio file. </p>
  
  <pre><code>(function () {
      var url = "https://xxxxxxxxxxxx.xxxxxxxx.net/myplaylist.mpd";
      var player = dashjs.MediaPlayer().create();
      player.initialize(document.querySelector("#audioPlayer"), url, true);
      player.setInitialBitrateFor('audio', 320);
      player.setQualityFor('audio', 320);
      player.setAutoSwitchQualityFor('audio', false);
      player.getDebug().setLogToBrowserConsole(false);
  })();
  </code></pre>
  
  <p>so basically there are two options :: auto and 320kbps</p>
  
  <p>auto will allow adaptive bitrate but when 320 kbps selected at any time after that it should only get segments for that bitrate only.</p>
  
  <p>For the later scenario I am facing the issue.</p>
  
  <p>is there any method to do that ? am I missing something here ?</p>