Seek in Live DVR window

Using the Web SDK v8 APIs, how can I seek back and forth into the live DVR window?
The seek() method indicates it cannot be used with live: “Seeks to the given playback time specified by the parameter time in seconds. Must not be greater than the total duration of the video. Has no effect when watching a live stream as seeking is not possible.

And yet there must be a way since I can scrub back by hand…

I think I can answer my own question. There is a timeShift method (PlayerAPI | Bitmovin Player API 8.145.0) that can be used to go back a number of seconds back from the live edge.

So with a bit of jiggery pokery, if I have a target clock time I want to go back to, I can calculate the negative offset based on the current player time and send the player there (provided it’s in the DVR window)

Hey Fabre,
Yes, exactly ! seek() is for VOD content and timeShift() for live
You can also use getMaxTimeShift() to know the size of the DVR. The most common approach is to use negative values (negative offset from Live Edge) but you can also use UNIX timestamp (positive values) if you know exactly where you want to time shift to.