title: Throttling UISlider scrubbing in AVPlayerDemo when using AirPlay
body: <p>After setting <code>mPlayer.usesExternalPlaybackWhileExternalScreenIsActive</code> to <code>YES</code> in AVPlayerDemoPlaybackViewController of Apple's <a href="http://developer.apple.com/library/ios/#samplecode/AVPlayerDemo/Introduction/Intro.html" rel="nofollow">AVPlayerDemo</a> sample project, how do you throttle the scrubbing so it doesn't lag behind on the AppleTV?</p>
  
  <p>What I mean is that when you move the slider really fast back and forth the AppleTV performs each and every <code>seekToTime</code> operation, but takes longer to do it then the user takes to slide. </p>
  
  <p>One of the problems with the demo is it uses both the "Touch Drag Inside" and "Value Changed" events which causes it to send the same value twice. If you remove "Value Changed" it improves a bit, but still lags.</p>
  
  <p>I've tried rounding to whole seconds and then only send <code>seekToTime</code> when the second changes, but that doesn't seem to help as much. What I really need to do is send fewer commands the faster the user moves the slider, but more when the user moves slower.</p>
  
  <p>Any ideas on how to accomplish this?</p>