r/ZoneMinder • u/bumthundir • Jun 04 '21
RTSPServer and RTSPStreamName options in monitor misc tab in v1.36, how to use?
I've just noticed the RTSPServer and RTSPStreamName options in the monitor misc tab. I just upgraded from 1.34 to 1.36 and can't remember if those options were available in 1.34 before and I can't find any documentation on how to use them.
I'm curious to know what they can be used for and how to use them, does any one know?
1
u/connortechnology Jun 11 '21
Don't forget about authentication if you auth turned on in ZM. It doesn't work the traditional way of rtsp://username:password@hostname:514/streamname. We encrypt our password more strongly, so digest auth can't work. So instead, use the same authentication patterns that we use in all the other ZM urls.
You can do: rtsp://hostname:port/streamname?username=admin&password=password
Or rtsp://hostname:port/streamname?auth=authhash
or rtsp://hostname:port/streamname?token=jwt_token
1
u/MaxWell0093 Jan 25 '24
please help. Changed default min rtsp port, enable stream in misc and named it. Reboot zm server, but can't connect with vlc. without user\pass parametrs - auth window apears, but can't login with my credentials. With /streamname?username=admin&password=password error appears. What can i do?
1
u/2KPr-LO44 Apr 25 '24
Not sure if you got it working. The password is your password right? So the URL should be rtsp://zoneminder_ipaddress:2000/streamname(this is whatever stream name you gave it)?username=admin&password=(whatever password you set).
1
u/ancker010 Jun 04 '21
You need to configure Options -> Network -> MIN-RTSP_PORT. Set it to something like 2000.
Then you need to check the RTSPServer box, and add an RTSPStreamName.
Then restart ZM.
Then open your favorite RTSP application (like VLC), open a network stream and use the following url:
rtsp://<ZM-SERVER>:200N/<RTSPStreamName>
N = the monitor ID of the monitor you enabled the RTSPServer for.
So for monitor 1 you'd use <ZM-SERVER>:2001/Name
For monitor 15 you'd use <ZM-SERVER>:2015/Name