You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature is part of the #696
According to the design jump/seek API suppose to allow jump back or forward to an arbitrary point in time during playback.
During the jump, messages lying in the interval between current timestamp and target time point should not be published.
jump/seek API able to jump forward to an arbitrary time point during active playback.
jump/seek API able to jump forward to an arbitrary time point when player in pause mode.
jump/seek API able to jump backward to an arbitrary time point during active playback.
jump/seek API able to jump backward to an arbitrary time point when player in pause mode.
Implementation Notes / Suggestions
We can use the same mechanism for taking over playback as we do in play_next() API, however updating internal message queue is going to be tricky part.
Also it could be a few nasty race conditions related to the adjustment of the reader position during active playback. Will need to call close-open for reader from separate thread to be able adjust reader position when jumping back in time.
Testing Notes / Suggestions
Perhaps it would be able to write non-flaky tests using MockReader and MockPlayerClock classes.
The text was updated successfully, but these errors were encountered:
Description
This feature is part of the #696
According to the design jump/seek API suppose to allow jump back or forward to an arbitrary point in time during playback.
During the jump, messages lying in the interval between current timestamp and target time point should not be published.
Related Issues
Completion Criteria
Implementation Notes / Suggestions
We can use the same mechanism for taking over playback as we do in play_next() API, however updating internal message queue is going to be tricky part.
Also it could be a few nasty race conditions related to the adjustment of the reader position during active playback. Will need to call close-open for reader from separate thread to be able adjust reader position when jumping back in time.
Testing Notes / Suggestions
Perhaps it would be able to write non-flaky tests using MockReader and MockPlayerClock classes.
The text was updated successfully, but these errors were encountered: