I\'ve installed gst-rtsp-server
and I wanted to try a simple code. But on compilation I\'m getting the following error:
In function `main\':
te
Initially I was using the below command to compile when I also got similar errors
gcc -Wall test-server.c -o test-server $(pkg-config --cflags --libs gstreamer-1.0)
After reading comments above, it looked like not linking to gstreamer-rtsp-server-1.0
lib was the issue so I changed the command as below
gcc -Wall test-server.c -o test-server $(pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-server-1.0)
NOTE: My build environment is Ubuntu 19.04