G
Guest
it is very easy to write a application to play a live stream:
Dim WithEvents Player As New WMPLib.WindowsMediaPlayer
Player.URL = "mms://213.254.239.60/swr3$livestream.wma"
Player.controls.play()
but i don't know how to download this stream into a file. I know how to
download a file with system.net.webclient or with system.net.httpwebrequest.
I have found http://support.microsoft.com/kb/812404/EN-US/ to Write Pluggable
Protocol to Support FTP, but i don't found, how to support MMS protocol.
there is a way to work around with wmencoder. you can play the song with
mediaplayer and record it with wmencoder, but i dont't like this way.
Dim WithEvents Player As New WMPLib.WindowsMediaPlayer
Player.URL = "mms://213.254.239.60/swr3$livestream.wma"
Player.controls.play()
but i don't know how to download this stream into a file. I know how to
download a file with system.net.webclient or with system.net.httpwebrequest.
I have found http://support.microsoft.com/kb/812404/EN-US/ to Write Pluggable
Protocol to Support FTP, but i don't found, how to support MMS protocol.
there is a way to work around with wmencoder. you can play the song with
mediaplayer and record it with wmencoder, but i dont't like this way.