Explorer/RaspberryPi/Softwares/rtsp-server

From PaparazziUAV
Revision as of 10:47, 22 June 2020 by Xp31 (talk | contribs)
Jump to navigation Jump to search
  • Install Server-RTP
sudo apt-get install libglib2.0 -y;\
sudo apt-get install libgstreamer1.0-dev -y;\
sudo apt-get install libgstreamer-plugins-base1.0-dev -y
gst-launch-1.0 --version
=> gst-launch-1.0 version 1.14.4
wget http://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.14.4.tar.xz
tar -xf gst-rtsp-server-1.14.4.tar.xz
rm gst-rtsp-server-1.14.4.tar.xz
cd gst-rtsp-server-1.14.4/
./configure
~/gst-rtsp-server-1.14.4/examples/test-launch.c 
patched with second stream 
 GstRTSPMediaFactory *factory2;
 factory2 = gst_rtsp_media_factory_new ();
 gst_rtsp_media_factory_set_launch (factory2, argv[2]);
 gst_rtsp_mount_points_add_factory (mounts, "/test2", factory2);
cd ~/gst-rtsp-server-1.14.4
make
sudo make install
  • Check installation with camera unicast