Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to detect Stream is not playing QMediaplayer

How to detect Stream is not playing QMediaplayer

Scheduled Pinned Locked Moved General and Desktop
qmediaplayerqurl
3 Posts 3 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SansBlague
    wrote on last edited by
    #1

    Hi,
    I am new, so sorry for bad english and bad programming skills.

    I use QMediaplayer to play videos that i stream on localhost with vlc. When my url is good, nothing wrong and my application works well, but when my url is bador i don't stream the videos, my app freeze and i get this error: "DirectShowPlayerService::doSetUrlSource: Unresolved error code 80004005" if i try to do a "setmedia" on my mediaplayer to change url and get a good one

    QMediaContent media(l_currentStream.getIPAddress());
    				_mediaPlayer->setVideoOutput(this);
    _mediaPlayer->setMedia(media);
    _mediaPlayer->play();
    

    and it is the same if i try to dleete my mediaplayer and create another one with a new media.

    please help

    thanks a lot

    1 Reply Last reply
    0
    • keksi venksiK Offline
      keksi venksiK Offline
      keksi venksi
      wrote on last edited by
      #2

      Can someone help @SansBlague in this thread
      Meanwhile Im also facing the same issue , I use m_mediaplyar.play() but nothing played in the screen

      JonBJ 1 Reply Last reply
      0
      • keksi venksiK keksi venksi

        Can someone help @SansBlague in this thread
        Meanwhile Im also facing the same issue , I use m_mediaplyar.play() but nothing played in the screen

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @keksi-venksi said in How to detect Stream is not playing QMediaplayer:

        Meanwhile Im also facing the same issue , I use m_mediaplyar.play() but nothing played in the screen

        So you are saying you get

        "DirectShowPlayerService::doSetUrlSource: Unresolved error code 80004005" if i try to do a "setmedia" on my mediaplayer to change url and get a good one

        just like the OP, right?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved