<!--
{
  "availability" : [
    "iOS: 8.0.0 - 26.0.0",
    "iPadOS: 8.0.0 - 26.0.0",
    "macCatalyst: 13.1.0 - 26.0.0",
    "macOS: 10.8.0 - 26.0.0",
    "tvOS: 9.0.0 - 26.0.0",
    "visionOS: 1.0.0 - 26.0.0",
    "watchOS: 3.0.0 - 26.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SceneKit",
  "identifier" : "/documentation/SceneKit/SCNAudioSource/shouldStream",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SceneKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SCNAudioSource(py)shouldStream"
  },
  "title" : "shouldStream"
}
-->

# shouldStream

A Boolean value that determines whether the audio source should stream content from its source URL when playing.

```
var shouldStream: Bool { get set }
```

## Discussion

If this value is <doc://com.apple.documentation/documentation/Swift/true>, audio players using this source do not preload audio buffer data, instead reading directly from the source file while playing audio. If this value is <doc://com.apple.documentation/documentation/Swift/false>, SceneKit loads audio buffer data upon playing audio from the source.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)