|
Post by mikeukmid on Jan 26, 2008 12:23:34 GMT -5
I have RB on port 8008, working fine. I have a webcam server on port 8888 and it tells me it is configured and listening on that port. When I try and retrieve a camera image I get a 'file not found' and the GET request appears in Run Basic's traffic list. I have checked the router portforwarding entries are for 8008 and 8888.
Anyone have any ideas on what is going on, please?
TIA
Mike.
|
|
|
Post by zoomkat on Jan 26, 2008 13:15:42 GMT -5
I'd suspect a port or url typo somewhere, possibly in the web page or in the port fowarding. I'd try grabbing a single frame from the webcam application on the hosting computer something like below (I use this to take pix using webcam2000). If that works then start working outward to find where the error is occurring.
http://127.0.0.1:8080/
|
|
|
Post by mikeukmid on Jan 27, 2008 6:06:54 GMT -5
Thanks zoomcat,
Accessing the camera works via localhost. I am entering the url manually into the browser using port :8888 so I am sure its not a typo. The get request appears in RB traffic list and the file can not be found.
I am giving up on the http method of getting the camera frame and reverting to RB loadgraphic method. The problem I have with that is that I want to delay rendering the image for about 3 seconds and RB does not have the mechanism to do that.
EDIT: of course it does! Brain engaged.
Back to investigating javascript... Mike.
|
|
|
Post by zoomkat on Jan 27, 2008 13:50:35 GMT -5
Not seeing just what you are entering as a url, I can only guess that you may be having internal lan dns issues. You can try urls like below to see where getting the frame stops. The 192 address would be the one currently assigned to your webcam computer. the wan ip address would be the one that your router uses. The no-ip address would be what you may be using usin a dynamic ip service. Do note that the 192 type address can change on the computer if it is dynamically assigned by a router, which would impact the router port fowarding. http://127.0.0.1:8888/ http://192.168.0.1:8888/ wan.ip.address:8888/http://mike_ukmid.no-ip.com:8888/
|
|
|
Post by mikeukmid on Jan 27, 2008 14:50:16 GMT -5
zoomcat, http://192.168.1.5:8888/ was the camserver and worked ok karemi.hopto.org:8008/ is the RB server karemi.hopto.org:8888/out.jpg was the url for the webcam frame The GET request for the latter appeared in RB's traffic list Many thanks for your help anyway, but I have successfully achieved my aim of introducing a delay in rendering the cam image using time$() in a while wend loop - simple method - brain not functioning! Thanks, Mike.
|
|