Hi ZoneMinders! Hope you are all doing great!
I was wondering if anyone had the experience of connecting already published live streams of cameras from a site like https://nyctmc.org/cameras-list to ZoneMinder just to have an all in one app. The reasoning behind this is because 2 of the cameras they have listed there are close to where I live and I would like to have my personal cameras and those streamed from that site on my own server.
NYC DOT Real Time Traffic
-
- Posts: 1322
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: NYC DOT Real Time Traffic
You can probably use the source type Web Site . . .
Never tried it myself, though.
Never tried it myself, though.
- makers_mark
- Posts: 20
- Joined: Sun Jul 05, 2020 7:23 pm
Re: NYC DOT Real Time Traffic
Been there done that, then mine changed to TIMS mqtt. But yeah, you can with that current setup they use.
Set up a libCurl https source and find the camera you want (ditch everything in the query (&t=....)). I set the resolution to the true source resolution on the test 352x240
Here is the url test source for an example:
Keep in mind that that generated camera id may change. But it works now, updating every two seconds.
Set up a libCurl https source and find the camera you want (ditch everything in the query (&t=....)). I set the resolution to the true source resolution on the test 352x240
Here is the url test source for an example:
Code: Select all
https://nyctmc.org/api/cameras/eafc65f5-6ff9-4203-905f-3995b9fbc9eb/image
- makers_mark
- Posts: 20
- Joined: Sun Jul 05, 2020 7:23 pm
Re: NYC DOT Real Time Traffic
~One month later and that link still is working, looks like garbage in the daytime though and I won't comment on the nighttime