<div dir="ltr"><div>Hello to everyone.</div><div>
<p>Im working on this project :</p><p><a href="https://www.hackster.io/jonmendenhall/jetson-nano-search-and-rescue-ai-uav-9ca547">https://www.hackster.io/jonmendenhall/jetson-nano-search-and-rescue-ai-uav-9ca547</a></p><p>At some point I will need to mount my camera (waveshare ; IMX219-77IR) on top of the drone and I would like to use 
Windows or Linux outside of nomachine (because the nano will be in headless mode),to display what the camera sees 
when the drone is flying. For this reason I'm trying to configure a gstreamer with RTSP to start a streaming server on the Ubuntu 18.04 that I have installed on the jetson nano. 
(Keep in consideration that I will attach to 
the nano the “huawei e3372 4g” dongle to provide to the drone a mobile 
connection,instead of a wi-fi connection and this may have an impact on the performance of the encoder used).

</p><p>To achieve my goal this is the thread that I'm following :</p><p><a href="https://forums.developer.nvidia.com/t/vlc-playing-gstreamer-flow/51694/6">https://forums.developer.nvidia.com/t/vlc-playing-gstreamer-flow/51694/6</a></p><p>
</p><div class="gmail-topic-meta-data"><div class="gmail-names gmail-trigger-user-card"><span class="gmail-first gmail-username gmail-staff gmail-moderator">At some point<a href="https://forums.developer.nvidia.com/u/DaneLLL"> DaneLLL </a>says :<br></span></div><div class="gmail-names gmail-trigger-user-card"><span class="gmail-first gmail-username gmail-staff gmail-moderator"><span title="This user is a moderator" class="gmail-svg-icon-title"></span></span></div><div class="gmail-post-infos"><div class="gmail-post-info gmail-post-date"><a class="gmail-post-date" href="https://forums.developer.nvidia.com/t/vlc-playing-gstreamer-flow/51694/3?u=marietto2008"><span title="Jul 18, 2017 5:09 am" class="gmail-relative-date"></span></a></div></div></div><div class="gmail-regular gmail-contents"><div class="gmail-cooked"><p>Please also try test-launch.c @ <a href="https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-launch.c" class="gmail-inline-onebox-loading">https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-launch.c <span class="gmail-badge gmail-badge-notification gmail-clicks" title="136 clicks">136</span></a></p>
<p>Target</p><p><br>
sudo apt-get install libgstrtspserver-1.0 libgstreamer1.0-dev<br>
</p><p>gcc test-launch.c -o test-launch $(pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-server-1.0)<br>
</p><p>./test-launch “videotestsrc ! omxh265enc ! rtph265pay name=pay0 pt=96”</p>
<p>Host<br>
</p><p>Open network stream rtsp://<TARGET_IP_ADDRESS>:8554/test via VLC</p></div></div>

<p><br></p><p>this is what I did and this is what happened :</p><p>
</p><p><br></p><p>root@ziomario-desktop:/home/ziomario/Desktop/Tools/gst-rtsp-server/examples# gcc test-launch.c -o test-launch<br>
</p><p>test-launch.c:20:10: fatal error: gst/gst.h: No such file or directory<br>
<span class="gmail-hashtag">#include</span> <gst/gst.h><br>
^~~~~~~~~~~<br>
compilation terminated.</p><p><br></p>
<p>root@ziomario-desktop:/home/ziomario/Desktop/Tools/gst-rtsp-server/examples#
 gcc test-launch.c -o test-launch $(pkg-config --cflags --libs 
gstreamer-1.0 gstreamer-rtsp-server-1.0)<br>
</p><p>test-launch.c: In function ‘main’:<br>
test-launch.c:77:3: warning: implicit declaration of function 
‘gst_rtsp_media_factory_set_enable_rtcp’; did you mean 
‘gst_rtsp_media_factory_set_latency’? [-Wimplicit-function-declaration]<br>
gst_rtsp_media_factory_set_enable_rtcp (factory, !disable_rtcp);<br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
gst_rtsp_media_factory_set_latency<br>
/tmp/ccJPG5EO.o: In function <code>main': test-launch.c:(.text+0x154): undefined reference to </code>gst_rtsp_media_factory_set_enable_rtcp’<br>
collect2: error: ld returned 1 exit status</p><p><br></p>

<p>Can someone help me to fix this error ? thanks.<br></p><p></p>

</div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mario.<br></div></div></div>