SampleInfoEvent Enumeration

public enum SampleInfoEvent

Event returned while reading decrypted audio samples.

  • Audio format metadata. Usually emitted before the first sample and after relevant format changes.

    Declaration

    Swift

    case format(AudioFormat)
  • A decrypted compressed audio sample.

    Declaration

    Swift

    case sample(AudioSample)
  • A timeline or stream boundary that consumers may need to handle.

    Declaration

    Swift

    case discontinuity(AudioDiscontinuity)
  • End of the selected audio stream.

    Declaration

    Swift

    case endOfStream