title: a AudioStreamer IOS seekToTime
body: <p>I am working with streaming audio file first time, my audio file is streaming and seekTOTime is also working i.e stream audio from new selected position of slider but after that my slider gets flicked and I am getting wrong current time or playing time. </p>
  
  <pre><code>- (IBAction)currentTimeSliderValueChanged:(id)sender
   {
      [streamer seekToTime:self.currentTimeSlider.value * duration];
   }
  </code></pre>
  
  <p>and I am updating my slider values </p>
  
  <pre><code>if (streamer.bitRate != 0.0)
  {
      double duration = streamer.duration;
      double progress = streamer.progress;
      int minProgress =  (int)progress/60%60;
      int secProgress = (int)progress%60;
      double totalSec = CMTimeGetSeconds(asset.duration);
      int minDur =  (int)totalSec/60%60;
      int secDur = (int)totalSec%60;
      if(duration &gt; 0)
      {
          [self.elapsedTimeLabel setText:
           [NSString stringWithFormat:@"%d:%d",
            minProgress,secProgress]];
          [self.remainingTimeLabel setText:[NSString stringWithFormat:@"%d:%d",minDur,secDur]];
          [self.currentTimeSlider setEnabled:YES];
          [self.currentTimeSlider setValue: progress/duration];
      }
   }
  </code></pre>
  
  <p>But I am getting wrong value for elapsedTimeLabel after seekToTime and when streaming ends i get error 
  "AudioQueue changed state in unexpected way."
  "Audio queue get current time failed. err: ˇ˛˚ä -66678"</p>