# StreamInfo Structure

    public struct StreamInfo

Metadata discovered when preparing an audio sample decryptor.

- `duration`

  Total stream duration when known.

  #### Declaration

  Swift

      public let duration: CMTime?

- `tracks`

  Audio tracks discovered in the content.

  #### Declaration

  Swift

      public let tracks: [AudioTrack]

- `selectedTrack`

  Track selected by the decryptor for sample extraction, when known.

  #### Declaration

  Swift

      public let selectedTrack: AudioTrack?