Author Topic: I think no ones webcam streams are working (if they host there own)  (Read 1223 times)

0 Members and 1 Guest are viewing this topic.

Offline Fox_Of_The_Wind

  • Forecaster
  • *****
  • Posts: 483
  • Hi there!
    • http://www.desotowiwx.com
as my other post says I have a local webcam stream server running now. But I am unable to link to it to my main site because it don't have a ssl domain. What are the steps on setting something like that up for a local server? or can it even be done cheap?

From looking around on peoples sites here it looks like everyone is in the same boat. If they are hosting there own webcam stream it is not working on there wx page if it is SSL active.
If its not SSL active then the webcam stream will work.

If they have a direct link to the stream url then that will also work on its own.

So......unless I get a domain name for my webcam it looks like this idea might be dead in the water.
« Last Edit: April 02, 2022, 08:43:52 AM by Fox_Of_The_Wind »

Anthony

Offline Cutty Sark Sailor

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3393
    • Frankfort Weather - TwinHollies WeatherCenter
Re: I think no ones webcam streams are working (if they host there own)
« Reply #1 on: April 02, 2022, 04:51:16 PM »
Heh... mine do... installed SSL on the camera servers...

IRONIC you should ask this....I just whipped together a 'book'  yesterday for a guy who couldn't get certificate installed on his camera server... goodness knows I like to never got it done on mine, because I'm illiterate mostly, but also because the instructions are a bit confused, depending on which system....
There's probably errors, and bad assumptions, but this includes the mess I went through 'learning' how to do it.

It only talks about getting cert into one server, and DOESN'T talk about getting the cert....

 It also includes a pack on router setup, webpage code quickie, and a couple of tips.... one about spiders...

This refers to NetCam Studio on Win 64 only,,,,  ...not liable for any typos,  bad advice, other BS that might be inthe doc, but like to know so I can fix it...
Mike
Oh... the noIP enhanced DNS ($25 yearly) includes a 'standard' SSL cert FREE) Look for a coupon if new, I got on board for $10 bucks originally.  $25 isa bit more than 1/3 what I was paying for previous DNS, with NO ssl capability.
« Last Edit: April 02, 2022, 05:22:02 PM by Cutty Sark Sailor »
 


Offline Mapantz

  • Forecaster
  • *****
  • Posts: 756
    • Wareham Weather
Re: I think no ones webcam streams are working (if they host there own)
« Reply #2 on: April 02, 2022, 05:20:56 PM »
There are ways around this..

I have a webcam myself, a Reolink, but the way I choose to show the image is through the api.cgi supplied with the camera firmware, rather than uploading an image at a given interval. The problem I had, is that the URL is HTTP, and browsers now block mixed content, so unless you manually add an exception in to the browser you use, it'll block the image. To get HTTPS, I'd have to run my own server with an SSL certificate and then run the camera through that.

To get around it, I created a simple php webpage (cam.php) and used @imagecreatefromjpeg() to grab the api.cgi image via the URL. I then created another webpage (my main website page) and used <img id="image" src="cam.php?> to embed the link. It now passes the mixed content issue and is classed as secure. https://warehamwx.co.uk/webcam.php


Offline Cutty Sark Sailor

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3393
    • Frankfort Weather - TwinHollies WeatherCenter
Re: I think no ones webcam streams are working (if they host there own)
« Reply #3 on: April 02, 2022, 05:25:16 PM »
There are ways around this..

I have a webcam myself, a Reolink, but the way I choose to show the image is through the api.cgi supplied with the camera firmware, rather than uploading an image at a given interval. The problem I had, is that the URL is HTTP, and browsers now block mixed content, so unless you manually add an exception in to the browser you use, it'll block the image. To get HTTPS, I'd have to run my own server with an SSL certificate and then run the camera through that.

To get around it, I created a simple php webpage (cam.php) and used @imagecreatefromjpeg() to grab the api.cgi image via the URL. I then created another webpage (my main website page) and used <img id="image" src="cam.php?> to embed the link. It now passes the mixed content issue and is classed as secure. https://warehamwx.co.uk/webcam.php
..... the Cam Direct, right?... ok I guess. Mine are Reolink 410s
https://frankfortweather.us/camsUP/cam1.html
« Last Edit: April 02, 2022, 05:32:41 PM by Cutty Sark Sailor »
 


Offline Mapantz

  • Forecaster
  • *****
  • Posts: 756
    • Wareham Weather
Re: I think no ones webcam streams are working (if they host there own)
« Reply #4 on: April 02, 2022, 05:28:48 PM »

...but you're streaming the Cam Direct, right?... ok I guess. Mine are Reolink 410s
https://frankfortweather.us/camsUP/cam1.html

Not quite. I'm just updating this image: https://warehamwx.co.uk/cam.php every 100ms.

I could use Blueiris to actually provide a direct stream, but I'm still not sure on the idea, as I don't want to run extra software. If there's any interesting weather likely to happen, I'll just start my live stream to YouTube.


Offline Fox_Of_The_Wind

  • Forecaster
  • *****
  • Posts: 483
  • Hi there!
    • http://www.desotowiwx.com
Re: I think no ones webcam streams are working (if they host there own)
« Reply #5 on: April 02, 2022, 05:40:55 PM »
Thanks for the info guys. I have some reading to do.

Anthony

Offline Cutty Sark Sailor

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3393
    • Frankfort Weather - TwinHollies WeatherCenter
Re: I think no ones webcam streams are working (if they host there own)
« Reply #6 on: April 02, 2022, 05:43:08 PM »
Gotcha.  My still html pages updata at 10-15 seconds uploaded by ftp automatically, no SSL required, those then pulled out of the Site's folder...
The Live Cams stream with Netcam Server,  getting  'video' container complete with audio can be 'problematic' on some  apps, certainly is for NCS, so seeking audio as 'add on' experiment. NCS is an app I've had around for years, and just upgraded it. Those cams + my 'radar' cheapo experiment all run on NCS...
https://frankfortweather.us/camsUP/stillNW.html

It's all about what a person wants to accomplish, isn't it.
 


Offline Mapantz

  • Forecaster
  • *****
  • Posts: 756
    • Wareham Weather
Re: I think no ones webcam streams are working (if they host there own)
« Reply #7 on: April 02, 2022, 05:52:22 PM »
I suppose I could go the route of uploading via FTP...

The reason I never did in the first place, was down to having poor broadband speeds for many years. Having a 0.8Mbps upload speed was terrible.. I would set my camera to the lowest resolution/bitrate/frame rate I could, without ruining the image too much.

I used to set the refresh image delay to 1 second, and that meant I could just about cope with 2 or 3 users looking at my cam. If any eventful weather moved in, my internet would pretty much die, as all of my upload would be savaged by people watching my webcam  :lol:

Thankfully, the government got involved in helping to get fibre broadband to my street, so I now have 1Gbps at my disposal!


Offline Cutty Sark Sailor

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3393
    • Frankfort Weather - TwinHollies WeatherCenter
Re: I think no ones webcam streams are working (if they host there own)
« Reply #8 on: April 02, 2022, 06:23:40 PM »

Thankfully, the government got involved in helping to get fibre broadband to my street, so I now have 1Gbps at my disposal!
And I'm drivin'all that stuff up with a 10MB/s upload speed, 250MB down.... go figure.... a hell of a lot depends on smart router, I think...
(Weather Data ingest / output, 4 Webcams, 3 Blitzortung systems, 5 Audio streams,controls and monitors for 3+ sites, and normally 8-10 devices active on net....  wired.. + 4-5 wireless devices. 

Do Believe in Magic?.
What I could see happening with 1G makes my eyeballs cross..

 


 

anything