-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
ffmpeg capture forced to TCP, even if UDP is desired #9290
Copy link
Copy link
Closed
Labels
Description
System information (version)
- OpenCV => latest(master)
- Operating System / Platform => Windows 10 Creators 64 Bit
- Compiler => Visual Studio 2015 64
Detailed description
I have an rtsp server which crashes after prolonged TCP connection. I have no way of avoiding this device, and I don't have control to fix the crash. UDP is needed. However, after bug "fix" http://code.opencv.org/issues/2235#note-18 ffmpeg capture is hardcoded to TCP.
Steps to reproduce
Normal opening of RTSP stream using cv::VideoCapture
this->Capture = std::make_shared<cv::VideoCapture>(this->VideoURL, this->RequestedCaptureAPI);
this->Capture->read(*this->Frame)Reactions are currently unavailable