Trying to connect Tapo c310 camera using opencv via rtsp protocol.
I am developing a software using opencv. I am trying to connect Tapo c310 camera . I read this "https://www.tapo.com/en/faq/34/" guide .
I try this url "rtsp://*user*:*passw*@192.168.1.38:554/stream1/" on VLC player, it works. But if I try like this , it does not works on my app.
// c++ code here
cv::VideoCapture vid;
vid.open("rtsp://*user*:*passw*@192.168.1.38:554/stream1/");
and opencv gave this output from command line screen.
OpenCV(4.5.5-dev) D:\opencv-contrib\opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): rtsp://*user*:*passw*@192.168.1.38:554/stream1/ in function 'cv::icvExtractPattern'
Could you help me please how to connect camera remotely with opencv.