I have a video chat application where there can be 6 participants. What I would like to do is give the option to each publisher to control their own stream's volume. The code I have looks like this.
[global]
private var volumeTransform:SoundTransform;
[In the init method where ]
outgoingStream = new NetStream( nc );
....
volumeTransform = outgoingStream.soundTransform;
[In adjustVolume method]
....
volumeTransform.volume = event.value;
outgoingStream.soundTransform = volumeTransform;
Any ideas why this would not work?
-- EDIT A POSSIBLE SOLUTION --
A possible solution can be this : Calibrate the slider and set the microphone gain, a gain of zero effectively is mute and a gain of 100 is full volume. Seems to work for me.