Is there a way to affect automatic audio settings in Flash / AS3?

I am building a voice-enabled application in Flash using RTMFP, and I noticed that the Flash plug-in automatically adjusts the sound volume of other processes / applications (at least on Windows) as soon as the RTMFP stream opens and starts playing - very similar to like Skype does it. In addition, it seems that Flash also regulates itself (!) Down in volume, as soon as something that is quite contraceptive in group conferences gets to the microphone. See: http://i50.tinypic.com/2415r4k.jpg

So, I'm trying to access the automatic sound settings to disable or set my own rules for them, because the default values ​​do not work very well in my oppion. Unfortunately, a search on this topic did not bring any useful results, so I hope that maybe someone else has done this and can give me a hint.

If this is not possible at all, it will still be enough to turn off the automatic sound settings each time you open NetStream, so that at least they are always at 100% or more, depending on the case. Does anyone know if manually setting the volume / gain on a NetStream instance overrides the automatic settings made by the plugin? Or does automatic sound tuning always override this / adding to these settings and completely due to the influence of the developer?

Thanks in advance

+3
source share
1 answer

This is more of a Windows 7 issue and is not directly related to Flash. You can change this behavior if you check your settings on the control panel: Sound - Communication - "When Windows detects communication activity."

There is no workaround from the Flash point of view, since this operating system itself controls this volume control. If you use SoundTransform (1) in NetStream, Flash Player displays the full volume, but the Windows Sound Manager is one level higher and turns it off again.

0
source

All Articles