Camera - Remove CameraEvent OnOneVideoFrameRequested;

This commit is contained in:
DucDangAnh 2020-06-29 09:40:34 +07:00
parent 963bba78a8
commit 454251898d

View File

@ -13,7 +13,6 @@ namespace AIParkingApplication
public volatile Mat CurrentFrame; public volatile Mat CurrentFrame;
public event CameraEvent OnVideoFrameReceived; public event CameraEvent OnVideoFrameReceived;
public event CameraEvent OnOneVideoFrameRequested;
public event CameraEvent OnOpenVideoStreamFailed; public event CameraEvent OnOpenVideoStreamFailed;
public Camera(string streamUrl) public Camera(string streamUrl)
@ -65,7 +64,6 @@ namespace AIParkingApplication
if (isFrameRequested) if (isFrameRequested)
{ {
CurrentFrame = videoFrame; CurrentFrame = videoFrame;
OnOneVideoFrameRequested?.Invoke(videoFrame);
isFrameRequested = false; isFrameRequested = false;
} }
} }