Adaptive Media Player

AmpCore Docs

StreamType

@objc public enum StreamType : Int, CustomStringConvertible

Stream type.

  • HTTP: when the stream is a HLS stream.
  • Unknown: unknown stream.
  • Octoshape: when the stream is a Octoshape stream.
  • HTTP: when the stream is a HLS stream.

    Declaration

    Swift

    case http = 0
  • Unknown: unknown stream.

    Declaration

    Swift

    case unknown
  • Octoshape: when the stream is a Octoshape stream.

    Declaration

    Swift

    case octoshape
  • Config: when the stream is retrieved via a Config file.

    Declaration

    Swift

    case config
  • Config: when the stream is retrieved via a Config file.

    Declaration

    Swift

    case local
  • drm

    DRM: when the stream is Fairplay DRM protected.

    Declaration

    Swift

    case drm
  • Audio: when the stream is audio only.

    Declaration

    Swift

    case audio
  • Stream description.

    Declaration

    Swift

    public var description: String

    Return Value

    A string with the stream description