I’m trying to show a video stream on the IP Camera component.
I’m able to use VLC to connect to the camera using the URL tcp://IpAddress:5001
. The vendor says it’s MJPEG, and from what I see, it’s indeed a stream of JPEG images separated by a boundary and meta data. So AFAIK, it’s valid MJPEG, but served over TCP.
---boundarystring
Content-Type: image/jpeg
Content-Length: 200126
|
|
Data here
|
|
---boundarystring
...
However, when I enter that URL into the URL field of the IP Camera component, it does a number of connection retries, and then fails with the message ClientProtocolException: null
.
I have a feeling that the IP Camera component not only requires MJPEG, but also requires it to be streamed over HTTP. Is that correct?