ReasonToFinishPlaying Enumeration |
Namespace: Accord.Video
Member name | Value | Description | |
---|---|---|---|
EndOfStreamReached | 0 | Video playing has finished because it end was reached. | |
StoppedByUser | 1 | Video playing has finished because it was stopped by user. | |
DeviceLost | 2 | Video playing has finished because the device was lost (unplugged). | |
VideoSourceError | 3 | Video playing has finished because of some error happened the video source (camera, stream, file, etc.). A error reporting event usually is fired to provide error information. |
When video source class fire the PlayingFinished event, they need to specify reason of finishing video playing. For example, it may be end of stream reached.