stopCapture

open fun stopCapture()

Stop capturing. This function should block until capture is actually stopped.