BufferMediaTypeConfig

@objcMembers
@objc(BMPBufferMediaTypeConfig)
public class BufferMediaTypeConfig : NSObject, @unchecked Sendable

Configures buffer target levels for different MediaTypes.

  • The amount of data in seconds the player tries to buffer in advance. If set to 0, the player will choose an appropriate forward buffer duration suitable for most use-cases.

    Default value is 0.

    Declaration

    Swift

    public var forwardDuration: TimeInterval