Reason of finishing video playing.

Namespace:  AForge.Video
Assembly:  AForge.Video (in AForge.Video.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public enum ReasonToFinishPlaying

Members

Member nameDescription
EndOfStreamReached
Video playing has finished because it end was reached.
StoppedByUser
Video playing has finished because it was stopped by user.
DeviceLost
Video playing has finished because the device was lost (unplugged).
VideoSourceError
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.

Remarks

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.

See Also