updateConfiguration(_:completionHandler:)
Updates the stream with a new configuration.
Declaration
func updateConfiguration(_ streamConfig: SCStreamConfiguration, completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)func updateConfiguration(_ streamConfig: SCStreamConfiguration) async throwsParameters
- streamConfig:
An object that provides the updated stream configuration.
- completionHandler:
A completion handler the system calls when this method completes. It includes an error if the update fails.