Vince-vd / udp-rtsp-server

Simple server, reading a udb video stream and setting up an rtsp server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing the C++ version of the server

Install dependencies

sudo apt update
sudo apt install pkg-config
sudo apt install libgstreamer1.0-dev
sudo apt install libgstrtspserver-1.0-dev

Clone this repo

git clone https://github.com/Vince-vd/upd-rtsp-server.git

Compile the server file

g++ rtsp-server-cpp.cpp -o rtsp_server_cpp `pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-1.0 gstreamer-rtsp-server-1.0`

Run the server with your wlan0 ip address as argument

./rtsp_server_cpp <ip-address>

Optional: run the C version

Edit the server file

‼️ You need to change the ip to the wlan0 ip of your raspberry pi!

Compile the server file

gcc rtsp-server.c -o rtsp-server $(pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-server-1.0)

Run the compiled server

./rtsp-server

Installing the python version of the server

Under construction

About

Simple server, reading a udb video stream and setting up an rtsp server


Languages

Language:Python 55.9%Language:C++ 30.5%Language:C 13.7%