StreamType
@objc
public enum StreamType : Int, CustomStringConvertible
Enum representation of a type of stream.
-
Used for streams retrieved through an URL
Declaration
Swift
case http = 0
-
Unknown stream.
This is the default initial vaule of
StreamInfo
, anything that won’t override this value will be categorized as it.Declaration
Swift
case unknown
-
Used for streams retrieved from a config file
Declaration
Swift
case config
-
Used for locally stored streams
Declaration
Swift
case local
-
Used for DRM protected content
Supported types of DRM content includes Fairplay, Verimatrix, ExpressPlay, and Azure.
Declaration
Swift
case drm
-
Used on audio-only content.
Declaration
Swift
case audio
-
String representation of the stream type
Declaration
Swift
public var description: String { get }