Hey guys I have a chat room thing using winsock, and it has a server on my end and a client on the... other peoples end.
Now I was wondering, how could I get it so I ( the server) could play a song, the clients could hear it?
Thank you.
Printable View
Hey guys I have a chat room thing using winsock, and it has a server on my end and a client on the... other peoples end.
Now I was wondering, how could I get it so I ( the server) could play a song, the clients could hear it?
Thank you.
(I think) CVMichael has code for streaming data in MP3 format using Blade Encoder. I think this is it:
http://www.vbforums.com/showthread.php?t=418770
I'm not sure if it comes with a client/player application or if it's meant to work with something like Winamp.
There is also a WaveStream class module that I've used for voice chat, and there are working examples of it for VB6:
http://www.pscode.com/vb/scripts/Bro...1=Quick+Search
That sends audio as WAV data which is very large, so you may want to use CVMichael's since it broadcasts in MP3 format which is much smaller in size.