AudioQuality

@available(*, deprecated, message: "This class will be removed with the next major release.")
@objc(THEOplayerAudioQuality)
public class AudioQuality : NSObject

Represents the quality of an AudioTrack.

  • The sampling rate, in samples per second.

    Remark

    44100 samples per second is expressed as 44100Hz.

    Declaration

    Swift

    @objc
    public private(set) var audioSamplingRate: Int { get }
  • The required bandwidth for the quality as defined in the manifest.

    Declaration

    Swift

    @objc
    public private(set) var bandwidth: Int { get }
  • The codecs of the quality as defined in the manifest.

    Declaration

    Swift

    @objc
    public private(set) var codecs: String { get }
  • id

    The identifier of the quality.

    Declaration

    Swift

    @objc
    public private(set) var id: Int { get }
  • The name of the quality as defined in the manifest.

    Declaration

    Swift

    @objc
    public private(set) var name: String { get }