Method | Description | |
---|---|---|
ScreenCaptureStream ( System region ) : System |
Initializes a new instance of the ScreenCaptureStream class.
|
|
ScreenCaptureStream ( System region, int frameInterval ) : System |
Initializes a new instance of the ScreenCaptureStream class.
|
|
SignalToStop ( ) : void |
Signal video source to stop its work. Signals video source to stop its background thread, stop to provide new frames and free resources. |
|
Start ( ) : void |
Start video source. Starts video source and return execution to caller. Video source object creates background thread and notifies about new frames with the help of NewFrame event. |
|
Stop ( ) : void |
Stop video source. Stops video source aborting its thread. |
|
WaitForStop ( ) : void |
Wait for video source has stopped. Waits for source stopping after it was signalled to stop using SignalToStop method. |
Method | Description | |
---|---|---|
Free ( ) : void |
Free resource.
|
|
WorkerThread ( ) : void |
public ScreenCaptureStream ( System region ) : System | ||
region | System | Screen's rectangle to capture (the rectangle may cover multiple displays). |
return | System |
public ScreenCaptureStream ( System region, int frameInterval ) : System | ||
region | System | Screen's rectangle to capture (the rectangle may cover multiple displays). |
frameInterval | int | Time interval between making screen shots, ms. |
return | System |