stopCapture(completionHandler:)
Stops the stream.
Declaration
func stopCapture(completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)func stopCapture() async throwsParameters
- completionHandler:
A completion handler that provides an error if the stream fails to stop.