Thanks Mark for the code. In the mean time i did some research, Windows Media Encoder is NOT compatible at all with mediaplayerstream and generally with Androids , because the last ones does not support WMA audio (if we are talking for audio streaming).
I am so sad, because i thought i was "too close" to find a solution and play our company's stream by installing a Shoutcast server, which listens for the Shoutcast DSP plugin / Winamp. The DSP plugin connects successfully with the server, the source address is for example
http://localhost:8000/stream/1 , but this address produces the same error with mediaplayerstream: ERROR_UNKNOWN_MEDIA . The encoder of the DSP plugin has two choices, AAC or MP3. Tried both, no change. If someone has tried before......
Now i am going to check the code Mark, thanks.
p/s Winamp opens successfully the
http://localhost:8000/stream/1 URL, so indeed that stream is not recognized by the mediaplayerstream decoder.