Open rdr222 opened 3 weeks ago
I was able to get it up and running, and IP Camera Viewer imported the HLS Live Stream from each configured camera but no video. Bookworm on an RPi 3.
FYI. Another solution to this custom setup is to install Agent DVR on a Raspberry Pi, configure the RTSP streams for each camera in it. Agent DVR then offers up a URL for each camera:
http://XXX.XXX.XXX.XXX:8090/video.mjpg?oid=1&size=640x360 which would be camera 1.
Ip Cam Viewer displays this fine. Agent DVR has many other features but this works perfectly.
This only works with version 7.3 of PHP. Not 8. Not 7.4. Not 7.2. Only 7.3
So you need to add this repo with these 2 commands:
1)
curl https://packages.sury.org/php/apt.gpg | sudo tee /usr/share/keyrings/suryphp-archive-keyring.gpg >/dev/null
2)echo "deb [signed-by=/usr/share/keyrings/suryphp-archive-keyring.gpg] https://packages.sury.org/php/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/sury-php.list
Then in the install.sh file, you need to comment out or change this line:
apt-get install php php-curl libapache2-mod-php php-xml php-mbstring -y
To this line:
apt-get install php7.3 php7.3-curl libapache2-mod-php7.3 php7.3-xml php7.3-mbstring -y
then run install.sh after you save the edit, and it works just like the directions say