Click or drag to resize
Accord.NET (logo)

ScreenCaptureStreamStop Method

Stop video source.

Namespace:  Accord.Video
Assembly:  Accord.Video (in Accord.Video.dll) Version: 3.8.0
Syntax
public void Stop()
Request Example View Source

Implements

IVideoSourceStop
Remarks

Stops video source aborting its thread.

Note Note
Since the method aborts background thread, its usage is highly not preferred and should be done only if there are no other options. The correct way of stopping camera is signaling it stop and then waiting for background thread's completion.

See Also