BMPHLSSource

Objective-C


@interface BMPHLSSource : BMPAdaptiveSource

Swift

class HLSSource : AdaptiveSource

Represents a HLS media source.

  • Creates a new HLS source based on the given URL.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUrl:(nonnull NSURL *)url;

    Swift

    init(url: URL)

    Parameters

    url

    The HLS media URL.

    Return Value

    A new HLS source initialized with the given URL.