title: Qt : issue for displaying IP-CAMERA stream
body: <p>I'm develop a Qt app for displaying my IP-CAMERA stream. It has code similar to  this project : 
  <a href="https://github.com/cleitonbueno/qt-rtsp-test/tree/widgets" rel="nofollow noreferrer">https://github.com/cleitonbueno/qt-rtsp-test/tree/widgets</a></p>
  
  <pre><code>    QVideoWidget *_vw1 = new QVideoWidget;
  
      QMediaPlayer *_player1 = new QMediaPlayer;
  
      QGridLayout *layout = new QGridLayout;
  
      layout-&gt;addWidget(_vw1,0,0,1,1);
  
      QWidget *win = new QWidget();
  
      win-&gt;setLayout(layout);
  
      setCentralWidget(win);
  
      _player1-&gt;setVideoOutput(_vw1);
  
      const QUrl url1 = QUrl("rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov");
  
      const QNetworkRequest requestRtsp1(url1);
  
      _player1-&gt;setMedia(requestRtsp1); 
  
      _player1-&gt;play();
  </code></pre>
  
  <p>When i play Bigbuckbunny video, video's packet is coming and media player plays. But When i write ip camera's rtsp address in Qurl, Media player can't play this stream.
  Capture made with Wireshark shows that the rtsp packets are received. But media player is seen black screen. </p>
  
  <ol>
  <li>I'm using linux ubuntu 16.04 Gnome 3 (86_64 GNU/Linux)</li>
  <li>QT 5.10.0</li>
  <li>QT creator is 4.5</li>
  </ol>
  
  <p>I remove ip camera's username and password. But I also tried with username and password (rtsp://192.168.1.1:554/live/stream1 &amp;&amp; rtsp://username:password@192.168.1.1:554/live/stream1). </p>
  
  <p>Can you please help me. I can't understand the root cause of this problem. </p>