Play a stream via windows media player com object
-
Hi evrybody, I want to create a program to play a sound or video stream by windows media player com object (= wmp) . I have a wmp in my windows form. I have a stream from that file(sound or video) not a path(file address on HD) . I wery tried to find out some thing about this problem in internet. ---------------------------- hope to your help. ?
--------------------- Areff Bahrami(KAVEH) Areff.HB@Gmail.com ---------------------
-
Hi evrybody, I want to create a program to play a sound or video stream by windows media player com object (= wmp) . I have a wmp in my windows form. I have a stream from that file(sound or video) not a path(file address on HD) . I wery tried to find out some thing about this problem in internet. ---------------------------- hope to your help. ?
--------------------- Areff Bahrami(KAVEH) Areff.HB@Gmail.com ---------------------
I read it 5 times and I still don't understand what your problem is, or how you think we have enough information to try and help you. What have you done ? What is the code ? What is the error message ? Wat goes wrong ?
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
I read it 5 times and I still don't understand what your problem is, or how you think we have enough information to try and help you. What have you done ? What is the code ? What is the error message ? Wat goes wrong ?
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
tanx Christian Graus, my problem in my programm is that i have a stream containig video or sound and i want to play it in my windows app via windows media player control . this code can tell windows media player (=wmp) to play a file in internet
AxWindowsMediaPlayer1.Url = "some address";
this code meaning that wmp can play a video or sound streamly . and my question is how can i play my stream when it is in memory ? i find something about creating protocols to do something like the url passing to wmp hope to your help.--------------------- Areff Bahrami(KAVEH) Areff.HB@Gmail.com ---------------------
-
tanx Christian Graus, my problem in my programm is that i have a stream containig video or sound and i want to play it in my windows app via windows media player control . this code can tell windows media player (=wmp) to play a file in internet
AxWindowsMediaPlayer1.Url = "some address";
this code meaning that wmp can play a video or sound streamly . and my question is how can i play my stream when it is in memory ? i find something about creating protocols to do something like the url passing to wmp hope to your help.--------------------- Areff Bahrami(KAVEH) Areff.HB@Gmail.com ---------------------