title: Quick seek on ExoPlayer
body: <p>I want to implement a scrubber for ExoPlayer, to show a thumbnail preview of the position the user is seeking to. While my current implementation is working, the thumbnail only refreshes after the user has stopped dragging the seekbar view, or paused for an instant. It appears as if the seek command on ExoPlayer is implementing something like a debounce function, to prevent too many seeks in succession.</p>
  
  <p>While I can work around this by doing my own throttling on the seekbar callback and send a seek request every x milliseconds, I would like to know if there is a way to tell ExoPlayer to not drop seek requests so the thumbnail can update in real time.</p>
  
  <p>For reference, this is my current implementation:</p>
  
  <p>Subject for throttling:</p>
  
  <pre><code>private final Subject&lt;Long&gt; subject = PublishSubject.create();
  </code></pre>
  
  <p>Observer for seek requests with throttling:</p>
  
  <pre><code>subject
          .throttleLast(400L, TimeUnit.MILLISECONDS)
          .observeOn(AndroidSchedulers.mainThread())
          .subscribe(position -&gt; exoPlayer.seekTo(position));
  </code></pre>
  
  <p>Seekbar callback:</p>
  
  <pre><code>@Override
  public void onProgressChanged(@NonNull final SeekBar seekBar,
                                final int progress,
                                final boolean fromUser) {
      if (fromUser) {
          final long position = computePosition(progress);
          subject.onNext(position);
      }
  }
  </code></pre>