Page 1 of 1
Can I Stream ZM video?
Posted: Mon Feb 19, 2024 2:39 pm
by Rayj00
Can I send the camera output to a remote internet webpage?
Re: Can I Stream ZM video?
Posted: Mon Feb 19, 2024 9:48 pm
by burger
See:
https://wiki.zoneminder.com/External_Live_Stream for one way to do this.
The API method is recommended for security purposes. I'd say if it's a public webpage you might want to proxy it,, and or rewrite the URL to hide any token.
Re: Can I Stream ZM video?
Posted: Mon Feb 19, 2024 11:26 pm
by Rayj00
Thanks for responding.
I'll be using Apache2 for serving up webpages.
Some of the other things in the link you provided are kinda strange. I'm not a website developer, per-se. I'm more a dabbler.
My Ring service just hiked their price. It's not a game stopper, but I am experimenting to host my own infrastructure using ZM.
I have a single IP camera to experiment with. Hopefully I'll get a couple more.
Can i use you for questions about the External_Live_Stream document.
Thanks,
Ray
Re: Can I Stream ZM video?
Posted: Tue Feb 20, 2024 2:47 am
by burger
No worries, ask away. I put that together although it is adapted from the official docs (with some changes).
Re: Can I Stream ZM video?
Posted: Tue Feb 20, 2024 5:12 pm
by Rayj00
What are the "official documents" you mention?
Re: Can I Stream ZM video?
Posted: Tue Feb 20, 2024 6:22 pm
by burger
I'm referring to the instructions for getting a token, which are from:
https://zoneminder.readthedocs.io/en/stable/api.html
What needs to be done is some work on setting up a proper proxy or rewrite so that you can put these streams on an internet website without the token being exposed. I haven't needed to do this, so I haven't looked into it.
The internet has something like this:
https://stackoverflow.com/questions/230 ... -ip-camera
You have to use the right search terms, I found "stream video webpage ip camera" was better than just "restream video on webpage".
Re: Can I Stream ZM video?
Posted: Thu Feb 22, 2024 7:30 pm
by Rayj00
In the External Live Stream wiki, there is reference to a link: <img src='
https://yourserverwanipordns/zm/cgi-bin......
What is the yourserverwanipordns? I assume it's just the ZM server "localhost", or IP?
Thanks,
Ray
Re: Can I Stream ZM video?
Posted: Thu Feb 22, 2024 9:25 pm
by dougmccrary
It's the internet IP address or DNS that someone could use to get to your zm server's local address.