Contents

updateAudioStreamSetting(_:completionHandler:)

Updates an audio stream’s settings.

Declaration

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

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.

See Also

Configuring the audio stream