Created
October 6, 2020 12:56
-
-
Save v1nc/ce229504a6a78c3b65eacb6f301ffaca to your computer and use it in GitHub Desktop.
proxy rtsp stream on raspberry with nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install deps | |
sudo apt install software-properties-common dpkg-dev | |
sudo add-apt-repository -y ppa:nginx/stable | |
sudo apt-get update && upgrade -y | |
#download source | |
mkdir nginx && cd nginx | |
sudo apt-get source nginx | |
sudo apt-get build-dep nginx | |
#prepare build: | |
nano nginx-x.x.x/debian/rules | |
#add --with-stream at the end of 'full_configure_flags :=' | |
#build | |
sudo dpkg-buildpackage -b | |
#install | |
sudo dpkg --install nginx-full_xxx.deb | |
#use it: https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment