BufferLevel

@objcMembers
@objc(BMPBufferLevel)
open class BufferLevel : NSObject

Holds different information about the buffer levels.

  • The amount of currently buffered data, e.g. audio or video buffer level.

    Declaration

    Swift

    public let level: TimeInterval
  • The target buffer level the player tries to maintain.

    Declaration

    Swift

    public let targetLevel: TimeInterval
  • The media type the buffer data applies to.

    Declaration

    Swift

    public let media: MediaType
  • The buffer type the buffer data applies to.

    Declaration

    Swift

    public let type: BufferType
  • Declaration

    Swift

    public init(
        buffer: BufferType,
        media: MediaType,
        targetLevel: TimeInterval,
        level: TimeInterval
    )