Méthode | Description | |
---|---|---|
FileVideoSource ( ) : System |
Initializes a new instance of the FileVideoSource class.
|
|
FileVideoSource ( string fileName ) : System |
Initializes a new instance of the FileVideoSource 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. |
Méthode | Description | |
---|---|---|
OnNewFrame ( |
Notifies client about new frame.
|
Méthode | Description | |
---|---|---|
Free ( ) : void |
Free resource.
|
|
WorkerThread ( ) : void |
Worker thread.
|
public FileVideoSource ( string fileName ) : System | ||
fileName | string | Video file name. |
Résultat | System |
protected OnNewFrame ( |
||
image | New frame's image. | |
Résultat | void |