<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 10.0.0 -",
    "tvOS: 14.5.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMCameraStream/updateAudioStreamSetting(_:completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HMCameraStream(im)updateAudioStreamSetting:completionHandler:"
  },
  "title" : "updateAudioStreamSetting(_:completionHandler:)"
}
-->

# updateAudioStreamSetting(_:completionHandler:)

Updates an audio stream’s settings.

```
func updateAudioStreamSetting(_ audioStreamSetting: HMCameraAudioStreamSetting, completionHandler completion: @escaping @Sendable ((any Error)?) -> Void)
```

## Parameters

`audioStreamSetting`

The new audio stream configuration.

`completion`

The block executed after processing the request.

- error: `nil` on success; otherwise, error object indicating the reason for failure.

---

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)