Page 1 of 1

NYC DOT Real Time Traffic

Posted: Mon Mar 13, 2023 8:32 am
by mikeyjoel
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.

Re: NYC DOT Real Time Traffic

Posted: Mon Mar 13, 2023 11:48 pm
by dougmccrary
You can probably use the source type Web Site . . .
Never tried it myself, though.

Re: NYC DOT Real Time Traffic

Posted: Tue Mar 14, 2023 3:57 am
by makers_mark
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:

Code: Select all

https://nyctmc.org/api/cameras/eafc65f5-6ff9-4203-905f-3995b9fbc9eb/image
Keep in mind that that generated camera id may change. But it works now, updating every two seconds.

Re: NYC DOT Real Time Traffic

Posted: Tue Mar 14, 2023 4:02 am
by makers_mark
Image

Re: NYC DOT Real Time Traffic

Posted: Thu Apr 13, 2023 4:32 am
by makers_mark
~One month later and that link still is working, looks like garbage in the daytime though and I won't comment on the nighttime :D
Image