Adaptive Media Player

AmpCore Docs

StreamInfo

open class StreamInfo : NSObject

Contains all the information related to the stream being played.

  • url

    The url from where the stream was retrieved.

    Declaration

    Swift

    open let url: String
  • The stream’s type.

    Declaration

    Swift

    open let type: StreamType
  • The stream’s source

    Declaration

    Swift

    open let source: String
  • The current stream bitrate being used.

    Declaration

    Swift

    open let bitrate: Double
  • The observerd throughput across all media downloaded.

    Declaration

    Swift

    open let throughput: Double
  • How long it took to start loading the stream

    Declaration

    Swift

    open let startupTime: Double
  • The current stream resolution being used.

    Declaration

    Swift

    open let resolution: (width: Double, height: Double)