title: How to send RTP stream to Janus from NGINX RTMP module?
body: <p>This is my first post here, even though this platform has already helped me a lot.</p>
  <p>So, i'm trying to create a stream and display it in a browser. I have already configured NGINX with the rtmp module and my stream works very well with HLS (between 5 and 10 seconds of latency).</p>
  <p>Now I would like to set up a low-latency stream and that's why I have installed the janus-gateway webRTC server that allows to take in input an RTP stream and provide in output a webRTC stream.</p>
  <p>Here's the schema I'd like to follow :</p>
  <p>OBS -&gt; RTMP -&gt; Nginx-rtmp-module -&gt; ffmpeg -&gt; RTP -&gt; Janus -&gt; webRTC -&gt; Browser</p>
  <p>But I have a problem with this part : &quot;nginx-rtmp-module -&gt; ffmpeg -&gt; janus&quot;</p>
  <p>In fact, my janus's server is running and demos streaming works very well in localhost, but when i try to provide an RTP stream, Janus don't detect the stream in the demos (it shows &quot;No remote video available&quot;).</p>
  <p>Anyone can help me, please ?</p>
  <p>Ressources :</p>
  <ul>
  <li>My janus.plugin.streaming.jcfg configuration :</li>
  </ul>
  <pre><code>rtp-sample: {
          type = &quot;rtp&quot;
          id = 1
          description = &quot;Opus/VP8 live stream coming from external source&quot;
          metadata = &quot;You can use this metadata section to put any info you want!&quot;
          audio = true
          video = true
          audioport = 5002
          audiopt = 111
          audiortpmap = &quot;opus/48000/2&quot;
          videoport = 5004
          videopt = 100
          videortpmap = &quot;VP8/90000&quot;
          secret = &quot;adminpwd&quot;
  }
  
  </code></pre>
  <ul>
  <li>My nginx.conf application :</li>
  </ul>
  <pre><code>application test {
  
          deny play all;
  
          live on;
          on_publish http://localhost/test/backend/sec/live_auth.php;
  
          exec ffmpeg -i rtmp://localhost/test/$name -an -c:v copy -flags global_header -bsf dump_extra -f rtp rtp://localhost:5004;
  
  }
  
  </code></pre>
  <p>If you need something more for help me, don't hesitate ! Thank you in advance, and sorry for my bad english :)</p>