How to control IWMPPlayer?
ATL / WTL / STL
1
Posts
1
Posters
0
Views
1
Watching
-
I want to render IWMPPlayer to play stream media online in my demo project. When i create such a com instance ant call put_URL, it start playing the media as i want successfully. But, the problem is that, i can't stop it except i close the application. Here is how i stop the playing: IWMPControls* pICtrl; m_pIPlayer->get_controls(&pICtrl); pICtrl->stop();//it returns S_FALSE; And, another problem is that, when i call put_URL to redirect the url to another server, there will be two active radio channel playing in the same time! Why?