Question
how to broadcast the Audio with netstream
Hi,
I am developing an application where in i broadcast the audio and video to other users with netconnection and netstream objects. I am able to send and receive the video of the users but i am not able to broadcast the audio. The code which i have used is as follows:
ns = new NetStream(nc);
var mic=Microphone.get();
var cam = Camera.get();
ns.attachVideo(cam);
ns.attachAudio(mic);
guest_1.video.attachVideo(cam);
guest_1.video.attachAudio(mic);
ns.publish(id);
Can anyone please help me why i am not able to send and receive the audio.Any help would be appreciated.
I am developing an application where in i broadcast the audio and video to other users with netconnection and netstream objects. I am able to send and receive the video of the users but i am not able to broadcast the audio. The code which i have used is as follows:
ns = new NetStream(nc);
var mic=Microphone.get();
var cam = Camera.get();
ns.attachVideo(cam);
ns.attachAudio(mic);
guest_1.video.attachVideo(cam);
guest_1.video.attachAudio(mic);
ns.publish(id);
Can anyone please help me why i am not able to send and receive the audio.Any help would be appreciated.
