BMPTimeMode

Objective-C

enum BMPTimeMode : NSUInteger {}

Swift

@frozen enum TimeMode : UInt, @unchecked Sendable

Represents different types of time modes.

  • Returns the relative timestamp of the current playback time. The beginning of the DVR window is 0 when a user just tuned into a stream and this value is the offset from the beginning of the DVR window at that point in time. For VoD the start of the VoD is 0 and this value is the offset.

    Declaration

    Objective-C

    BMPTimeModeRelativeTime

    Swift

    case relativeTime = 0
  • Returns the Unix timestamp of the current playback time. In case of VOD HLS assets, this relies on the existence of the EXT-X-PROGRAM-DATE-TIME tags in the manifest. For VoD this does not have any affect.

    Declaration

    Objective-C

    BMPTimeModeAbsoluteTime

    Swift

    case absoluteTime = 1