LatencyApi
@objcMembers
@objc(BMPLatencyApi)
public class LatencyApi : NSObject
Provides the means to manage latency for live-streams.
Accessible through Player.latency.
Note
This API is not supported during casting.-
Declaration
Swift
public weak var _delegate: _LatencyApiDelegate? -
The current latency in seconds.
Note
This API is not supported during casting.Declaration
Swift
public var currentLatency: TimeInterval { get }Return Value
The current latency in seconds, or
NaNin case the asset is either a VoD or does not have any mapped date via theEXT-X-PROGRAM-DATE-TIMEtag.
LatencyApi Class Reference