record audio send via socket to multi clients
hello all
my application details :
Visual Basic .net 2008
framework 3.5
imports system.Net.Sockets
Server : tcplistner
client :tcpclient
and i create Client Class that server will create a new instance from it for each client connect
now i need to make some feature :
one start talking on mic and all clients will recive the sound at the same time
so what i need is :
1- record audio from mic or the selected device
2-save it into byte variable to send as network stream (as i use to send text)
[this process is hardest as i need to continue recording and send byte array synchronously]
3- in Client : i recive stream and convert to byte again
4- play voice
so is there some thing like record audio into byte??
and is there event when recive sound ???
i hope it is clear