srgmediaplayer-apple icon indicating copy to clipboard operation
srgmediaplayer-apple copied to clipboard

SRGTimeSliderDelegate should tell if isMovingToPlaybackTime is passive or not

Open pyby opened this issue 7 years ago • 0 comments

Issue overview

  • [ ] Incorrect behavior
  • [X] Feature request
  • [ ] Crash
  • [ ] Help / documentation
  • [ ] Other: classification

Description of the request

When seeking with -seekToTime:withToleranceBefore:toleranceAfter:completionHandler: several times, the SRGTimeSliderDelegate called each time on -timeSlider:isMovingToPlaybackTime:withValue:interactive:, but we don't know if this call is from a normal playback, or with a coded seek.

It could be great to have this informations. -timeSlider:isMovingToPlaybackTime:withValue:interactive:forced: ?

  • Library version: current develop branch 2.0

  • [X] Always reproducible

  • [ ] Difficult to reproduce

Code sample

On our private project SRGLetterbox

pyby avatar Mar 09 '17 13:03 pyby