<div dir="ltr">I'm not expert. where and how I should remove "gst_rtsp_media_factory_set_enable_rtcp() " ?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 11 gen 2021 alle ore 15:45 Mathieu Duponchelle <<a href="mailto:mathieu@centricular.com">mathieu@centricular.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    Hey,<br>
    <br>
    gst_rtsp_media_factory_set_enable_rtcp() is new API, not part of
    1.18. You<br>
    can safely remove the call for your testing.<br>
    <br>
    <div>-- <br>
      Mathieu Duponchelle · <a href="https://www.centricular.com" target="_blank">https://www.centricular.com</a></div>
    <br>
    <br>
    <div>On 1/9/21 6:42 PM, Mario Marietto
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <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" target="_blank">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" target="_blank">https://forums.developer.nvidia.com/t/vlc-playing-gstreamer-flow/51694/6</a></p>
          <p>
          </p>
          <div>
            <div><span>At some point<a href="https://forums.developer.nvidia.com/u/DaneLLL" target="_blank"> DaneLLL </a>says :<br>
              </span></div>
            <div><span><span title="This user is a moderator"></span></span></div>
            <div>
              <div><a href="https://forums.developer.nvidia.com/t/vlc-playing-gstreamer-flow/51694/3?u=marietto2008" target="_blank"><span title="Jul 18, 2017 5:09
                    am"></span></a></div>
            </div>
          </div>
          <div>
            <div>
              <p>Please also try test-launch.c @ <a href="https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-launch.c" target="_blank">https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-launch.c
                  <span 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
                <a>rtsp://</a><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>#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>
        </div>
        <div>-- <br>
          <div dir="ltr">Mario.<br>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Mario.<br></div>