The compile error is "<gst/rtsp-server/rtsp-server.h> no such file or directory“. But when I run the command " apt install libgstrtspserver-1.0-0’, it tips “has already intalled”. Actually , I can find the .so file, and not find the include file named ”rtsp-server.h“. Is there some thing wrong? I appreciate for your answer!
You also need to install libgstrtspserver-1.0-dev.