StreamInfo
open class StreamInfo : NSObject
Contains all the information related to the current content.
-
The url from where the stream was retrieved.
Declaration
Swift
public let url: String
-
The type of stream represented as an enum.
Declaration
Swift
public let type: StreamType
-
The current video bitrate of the stream
The bitrate can be switched by the second according to the network bandwith. Available bitrates are defined in the manifest file.
Declaration
Swift
public let bitrate: Double
-
The current audio bitrate of the stream
The bitrate can be switched by the second according to the network bandwith. Available bitrates are defined in the manifest file.
Declaration
Swift
public let audioBitrate: Double
-
The observerd throughput across all media downloaded.
Declaration
Swift
public let throughput: Double
-
Amount of time in seconds that was required to load the stream
Declaration
Swift
public let startupTime: Double
-
The current stream resolution being used
Declaration
Swift
public let resolution: (width: Double, height: Double)