Difference between revisions of "Explorer/RaspberryPi/Softwares/rtsp-server"

From PaparazziUAV
Jump to navigation Jump to search
Line 15: Line 15:


  ~/gst-rtsp-server-1.14.4/examples/test-launch.c  
  ~/gst-rtsp-server-1.14.4/examples/test-launch.c  
  patched with second stream  
  patched with second stream  
 
"
   GstRTSPMediaFactory *factory2;
   GstRTSPMediaFactory *factory2;
   factory2 = gst_rtsp_media_factory_new ();
   factory2 = gst_rtsp_media_factory_new ();
   gst_rtsp_media_factory_set_launch (factory2, argv[2]);
   gst_rtsp_media_factory_set_launch (factory2, argv[2]);
   gst_rtsp_mount_points_add_factory (mounts, "/test2", factory2);
   gst_rtsp_mount_points_add_factory (mounts, "/test2", factory2);
 
"
  cd ~/gst-rtsp-server-1.14.4
  cd ~/gst-rtsp-server-1.14.4
  make
  make

Revision as of 10:49, 22 June 2020

  • 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