I am a long time user of WebcamXP or Webcam7 and have just recently switched over to netcam studion.
One of the things I have used Webcam7 is to easily embed a webcam stream into my home automation software
(homeseer, HSTouch) by simply referencing by example
In netcam studio I am able to get a stream in a browser by using http://127.0.0.1:8100/#source/2 but when I try to embed that in my home automation software it doesn’t seem to work.
are the two streaming methods the same between webcam7 and netcam studio? if so shouldn’t this work?
Or is there another way to get this streaming to work in the HSTouch software?
Hi! If you open the Windows client and go to Settings -> Generate HTML you have a code generator that will generate the correct code for embedding.
-Henrik
As Henrik suggested, use the wizard for generating HTML (follow the instructions of the manual for doing so since you first have to create an account etc…)
Once this has been done, you’ll have a token that allows retrieving image (authentication token) and using this you can pull still or mjpeg images using http://127.0.0.1/Jpeg/0?authToken=xxxxxxxxxxxxx
If you don’t have a valid token then it won’t work so either you need each time to login to retrieve a dynamic / temporary one or use the procedure above to have a static / permanent token which in your case is probably what you want.
The problem is that I have created an account and generated a permanent token, but the url request doesn’t seem to work in my home automation software.
when I just use a browser and type in http://127.0.0.1:8100/Jpeg/0?auth token=xxxxxxxxxxxxxxxxxx I get a login page (which does work when I type in my credentials) , but if I do not login I get
Status: 401 - Unauthorized
Source: 192.168.1.218
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
When you use the wizard you can set Stream Type to Jpeg och Mjpeg. From your URL above I see that you use Jpeg. If you can use MJpeg instead I suggest you use that since is easier. The URL will then be for cam 0 http://127.0.0.1:8100/Mjpeg/0?authToken=5d5b7fca-418c-4xxxxxxxxx
I have tested that on different computers in my network by changing IP and it works without login. If you check in the wizard the URLs are quite different using Jpeg or MJpeg.
Using the wizard, I am able to view the stream in a browser. Unfortunately when putting that same URL into my HSTouch software
it does not bring up the image.
Apparantly the HSTouch software is not compatible with Netcam Studio.
I am just elaborating here. Is a problem with Jpeg and Mjpeg? Can you go back to webcamxp and see if you can get an URL for the Mjpeg stream and embed that inte HSTouch?
No , it works fine with the url from WebcamXp ( either jpeg or mjpeg) it just doesn’t work when I use Netcam studio and use the url with the authorization token.
Hi, sorry for the basic question, but I’m really lost. I downloaded the NetCam Studio and the VLC server, but I don’t see any of these settings mentioned in this thread. All I see is my web cam in the NetCamCenter, but I don’t see any setttings toolbar or where the generate html is located… Is there another piece I need to download?