You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using NUGET to retrieve OpenCvSharp4. Attempt to obtain every frame of RTSP images and send them out using SOCKET
But when I use it, I find that if the IP cannot connect, VideoCapture. Open will take a long time to execute. I need to set it shorter. How should I proceed?
Summary of your issue
How should I set a timeout for RTSP?
I am using NUGET to retrieve OpenCvSharp4. Attempt to obtain every frame of RTSP images and send them out using SOCKET
But when I use it, I find that if the IP cannot connect, VideoCapture. Open will take a long time to execute. I need to set it shorter. How should I proceed?
Below is the original Chinese text
我正在使用NUGET 获取的OpenCvSharp4。尝试获取rtsp的每一帧图片并用SOCKET发送出去.
但是在我使用的时候发现,如果IP无法连接,VideoCapture.Open 就会执行很长的时间,我需要将其设置短一些,我应该如何操作?
Environment
.net Framework4.6.2
OpenCvSharp4 4.10.0.2024.0616
notes
I really hope someone can help me solve the problem, even if it's for a fee
The text was updated successfully, but these errors were encountered: