How to detect Stream is not playing QMediaplayer
-
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
-
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 -
@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?