# Camera/Video Viewer

**URL:** <https://forum.inductiveautomation.com/t/camera-video-viewer/39100>\
**Category:** Ignition\
**Created:** [September 27, 2020, 11:04pm UTC](https://forum.inductiveautomation.com/t/camera-video-viewer/39100 "2020-09-27T23:04:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![NII](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nii/32/12920_2.png) [@NII](https://forum.inductiveautomation.com/u/NII)\
**Post date:** [September 27, 2020, 11:04pm UTC](https://forum.inductiveautomation.com/t/camera-video-viewer/39100/1 "2020-09-27T23:04:41Z")

</div>

Hi,

I have a webcam connected to [GL-MT300](https://www.gl-inet.com/products/gl-mt300n-v2/), I can view the mjpg stream in a browser by going to _ip_:8080 but I can’t get video using either IP Camera Viewer component in Vision or Video Player component in Perspective.

IP Camera Viewer says “IllegalArgumentException:Illegal character in scheme name at index 0:_ip_:8080”

Has anyone tried this successfully, any idea why it is not working?

Btw, the instruction on adding a webcam is [here](https://docs.gl-inet.com/en/3/app/camera/).

Thank You.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 27, 2020, 11:17pm UTC](https://forum.inductiveautomation.com/t/camera-video-viewer/39100/2 "2020-09-27T23:17:14Z")

</div>

Have you tried `http://ip:8080/` ? Browsers default to http but java does not.

---

<div class="post-metadata">

**Author:** ![NII](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nii/32/12920_2.png) [@NII](https://forum.inductiveautomation.com/u/NII)\
**Post date:** [September 27, 2020, 11:19pm UTC](https://forum.inductiveautomation.com/t/camera-video-viewer/39100/3 "2020-09-27T23:19:38Z")

</div>

I did, same result.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 27, 2020, 11:25pm UTC](https://forum.inductiveautomation.com/t/camera-video-viewer/39100/4 "2020-09-27T23:25:56Z")

</div>

Is that webpage the actual MJPEG stream or is there an HTML shell supplied with on inner reference to the stream? (If you see controls around or layered on the video, that is a clue that it is a shell.)

---

<div class="post-metadata">

**Author:** ![NII](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nii/32/12920_2.png) [@NII](https://forum.inductiveautomation.com/u/NII)\
**Post date:** [September 27, 2020, 11:40pm UTC](https://forum.inductiveautomation.com/t/camera-video-viewer/39100/5 "2020-09-27T23:40:44Z")

</div>

I think it is the actual stream. No controls at all.

It is base on [this](https://openwrt.org/packages/pkgdata_lede17_1/luci-app-mjpg-streamer).

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 27, 2020, 11:43pm UTC](https://forum.inductiveautomation.com/t/camera-video-viewer/39100/6 "2020-09-27T23:43:06Z")

</div>

Try using `wget -O /some/local/file 'http://ip:8080/'` and inspect the top of the file saved. Use ctrl-c to stop the stream if necessary.

---

<div class="post-metadata">

**Author:** ![NII](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nii/32/12920_2.png) [@NII](https://forum.inductiveautomation.com/u/NII)\
**Post date:** [September 28, 2020, 12:59am UTC](https://forum.inductiveautomation.com/t/camera-video-viewer/39100/7 "2020-09-28T00:59:02Z")

</div>

You are right, it is shelled. This " http://_ip_:8080/?action=stream" fixes it 👏.

Thank for the tip.
