Restream RTSP stream
by trafikpolisen from LinuxQuestions.org on (#57BVV)
Hi!
I have this cheap IP surveillance camera. It is usually managed by a proprietary app on the phone, but is also accessible via standard rtsp stream, which works reasonably. However, it seems only two clients can view the rtsp stream at the same time. So I thought that I could use a Raspberry Pi that accesses the camera and then the clients access the Pi instead. I'd thought that this would be easy and common, but after some googling and trial and error, the only thing I've accomplished is to crash VLC. I don't need to alter or re-encode the stream in any way, just input from the the camera to the Pi and then output from the Pi to the clients.
So instead of viewing the camera directly like this:
rtsp://[camera_name]:[camera_password]@[camera_ip]:554/stream1
I'd like to be able to access it like this (but without any password):
rtsp://[RaspberryPi_ip]:554/stream1
For testing purposes I'm using a computer running Linux Mint, but if I find a working solution, I'll use a Pi.


I have this cheap IP surveillance camera. It is usually managed by a proprietary app on the phone, but is also accessible via standard rtsp stream, which works reasonably. However, it seems only two clients can view the rtsp stream at the same time. So I thought that I could use a Raspberry Pi that accesses the camera and then the clients access the Pi instead. I'd thought that this would be easy and common, but after some googling and trial and error, the only thing I've accomplished is to crash VLC. I don't need to alter or re-encode the stream in any way, just input from the the camera to the Pi and then output from the Pi to the clients.
So instead of viewing the camera directly like this:
rtsp://[camera_name]:[camera_password]@[camera_ip]:554/stream1
I'd like to be able to access it like this (but without any password):
rtsp://[RaspberryPi_ip]:554/stream1
For testing purposes I'm using a computer running Linux Mint, but if I find a working solution, I'll use a Pi.