BreeeZe / rpos

Raspberry Pi Onvif Server
http://breeeze.github.io/rpos
MIT License
643 stars 146 forks source link

Can't find RTSP address with mpromonet RTSP Server on Raspberry PI ZeroW/3B #91

Closed vilumaa closed 3 years ago

vilumaa commented 3 years ago

Hey, I'm having trouble streaming the video after following the installation instructions without problems. More specifically, the server seems to be running but I can't/don't know how to get the stream to work.

When using option 1 as the RTSP server (the one that comes with RPOS) and RTSP address will be printed in the console after running the node rpos.js command. However, if using option 2 (mpromonet), then no such information will be printed. Therefore, I can't find the address what to listen to. Below is the output I get after running node rpos.js

``Starting camera settings webserver on http://192.168.1.26:8081/ v4l2ctl.json does not exist yet or invalid. Binding DeviceService to http://192.168.1.26:8081/onvif/device_service Binding MediaService to http://192.168.1.26:8081/onvif/media_service Binding PTZService to http://192.168.1.26:8081/onvif/ptz_service Binding ImagingService to http://192.168.1.26:8081/onvif/imaging_service discovery_service started ptz_service started Starting Live555 rtsp server media_service started device_service started imaging_service started

``

Now is this normal or is something wrong? If this is normal, then how can I stream the video feed on some software, like VLC for example.

I have tried using Wireshark to track traffic in my LAN and have found some data using RTSP protocols. Trying to copy that RTSP address to VLC I managed to get to the login screen but using the credentials as specified in rposConfig.json I couldn't log in.

Any help would be appreciated, thanks

vilumaa commented 3 years ago

Apparently I forgot to change the IP address in rposConfig.json file to the IP of the PI. Therefore, using the following address (as listed in the camera settings webpage) rtsp://username:password@deviceIPaddress:8554/h264 did not work.