Camera - Remove CameraEvent OnOneVideoFrameRequested;
This commit is contained in:
parent
963bba78a8
commit
454251898d
|
@ -13,7 +13,6 @@ namespace AIParkingApplication
|
|||
public volatile Mat CurrentFrame;
|
||||
|
||||
public event CameraEvent OnVideoFrameReceived;
|
||||
public event CameraEvent OnOneVideoFrameRequested;
|
||||
public event CameraEvent OnOpenVideoStreamFailed;
|
||||
|
||||
public Camera(string streamUrl)
|
||||
|
@ -65,7 +64,6 @@ namespace AIParkingApplication
|
|||
if (isFrameRequested)
|
||||
{
|
||||
CurrentFrame = videoFrame;
|
||||
OnOneVideoFrameRequested?.Invoke(videoFrame);
|
||||
isFrameRequested = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user