Keep the same live offset as the seeked-to position after a seek. SeekTo(0) will seek to the start of the live window. Position passed is relative to the start of the live window. You can seek to anywhere within the live window using ekTo. The player will start playback by default. Window.getDefaultPositionMs is the position in the live window at which.This value may be corrected by a known clock difference Window.getCurrentUnixTimeMs is the time since the Unix Epoch of theĬurrent real-time.Window.windowStartTimeMs is the time since the Unix Epoch at which the.These values are based on information in the mediaĪnd any app-provided overrides set in MediaItem.liveConfiguration. Window.liveConfiguration contains the target live offset and live offsetĪdjustment parameters.Using Player.getCurrentWindowIndex and Timeline.getWindow. The current Timeline.Window can be retrieved from the Timeline Player.getCurrentTimeline returns the current media structure in a.Live offset and live offset adjustment parameters. MediaItem.liveConfiguration contains app-provided overrides for the target Player.getCurrentMediaItem returns the current media item, where.
0 Comments
Leave a Reply. |