Cannot connect to the IP Camera Stream URL

22 ビュー (過去 30 日間)
Sinenhlanhla nhlanhla
Sinenhlanhla nhlanhla 2021 年 12 月 19 日
Hi
i am trying to connect to the ESP32-CAM video streaming, my code is shown below
clear all;
clc;
cam = ipcam('http://192.168.137.141/cam.mjpeg', 'user', 'pass', 'timeout', 50);
preview(cam)
it keeps on showing me this error
Error using Untitled (line 3)
Cannot connect to the IP Camera Stream URL. Make sure the URL is correct and authentication is provided if needed.
please help, what might be the problem?

回答 (2 件)

Anas
Anas 2023 年 2 月 19 日
Did you find a solution?

MathWorks MATLAB Hardware Team
MathWorks MATLAB Hardware Team 2023 年 3 月 8 日
This could be due to a IP camera connection issue mentioned here. It is now fixed in the latest MATLAB update. Update your MATLAB and IP camera support package to the latest versions to get the fix.

カテゴリ

Help Center および File ExchangeMATLAB Support Package for IP Cameras についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by