title: Streaming RTMP to JANUS-Gateway only showing bitrate but no video
body: <p>I'm currently using the streaming plugin as follows
  <a href="https://i.stack.imgur.com/IswxW.png" rel="nofollow noreferrer">Fancy artchitecture here</a></p>
  
  <p>OBS--------RTMP--------->NGINX-Server------FFMPEG(input RTMP output RTP)--------->JANUS---------webrtc-------->Client</p>
  
  <p>When using the ffmpeg command (bellow), on the Janus streaming interface, we only see the bitrate that corresponds to that of the ffmpeg output in the console but we don't see any video.</p>
  
  <pre><code>ffmpeg -i rtmp://localhost/live/test -an -c:v copy -flags global_header -bsf dump_extra -f rtp rtp://localhost:8004 
  </code></pre>
  
  <blockquote>
    <p>(using "-c:v copy" so that no encoding is used and hence reducing the
    latency)</p>
  </blockquote>
  
  <p>The video shows fine if I use "-c:v libx264", the only issue is that it is CPU intensive and adds latency.</p>
  
  <p>Previously I had tried using RTSP as input for FFMPEG and in this case the video show fine with almost no latency even though I use "-c:v copy".</p>
  
  <p>So I don't realy get why for RTSP the copy works fine, but for RTMP I have to use the libx264 codec. If anyone has an idea about this I am all ears :)</p>