Packagecom.adobe.rtc.clientManagers
Classpublic class MicrophoneManager
InheritanceMicrophoneManager Inheritance flash.events.EventDispatcher

MicrophoneManager is a utility component that provides features such as MicrophoneIndex, silence timeout, echo suppression, gain, and so on. There is only one instance of it.

AudioPublisher component uses it for getting and setting various microphone Properties. Applications that use microphones use this component to alter the various settings when AudioPublisher is not used. AudioPublisher also identifies which microphone is currently selected.

See also

com.adobe.rtc.collaboration.AudioPublisher


Public Properties
 PropertyDefined by
  echoSuppression : Boolean
Returns ture if there is echosuppression.
MicrophoneManager
  gain : Number
Gain accepts values from 0% to 100% of the microphone's volume.
MicrophoneManager
  micIndex : Number
Returns are microphone index.
MicrophoneManager
  micState : Object
Returns the index and gain.
MicrophoneManager
  selectedMic : Microphone
[read-only] Returns the currently selected microphone.
MicrophoneManager
  silenceLevel : Number
Returns the silence level.
MicrophoneManager
  silenceTimeout : int
Returns the silence timeout.
MicrophoneManager
Protected Properties
 PropertyDefined by
  _creating : Boolean = false
[static]
MicrophoneManager
Public Methods
 MethodDefined by
  
MicrophoneManager
  
[static] Getting the MicrophoneManager Instance.
MicrophoneManager
Events
 EventSummaryDefined by
    MicrophoneManager
    MicrophoneManager
Property detail
_creatingproperty
protected static var _creating:Boolean = false

echoSuppressionproperty 
echoSuppression:Boolean  [read-write]

Returns ture if there is echosuppression.

Implementation
    public function get echoSuppression():Boolean
    public function set echoSuppression(value:Boolean):void
gainproperty 
gain:Number  [read-write]

Gain accepts values from 0% to 100% of the microphone's volume.

Implementation
    public function get gain():Number
    public function set gain(value:Number):void
micIndexproperty 
micIndex:Number  [read-write]

Returns are microphone index.

Implementation
    public function get micIndex():Number
    public function set micIndex(value:Number):void
micStateproperty 
micState:Object  [read-write]

Returns the index and gain.

Implementation
    public function get micState():Object
    public function set micState(value:Object):void
selectedMicproperty 
selectedMic:Microphone  [read-only]

Returns the currently selected microphone.

Implementation
    public function get selectedMic():Microphone
silenceLevelproperty 
silenceLevel:Number  [read-write]

Returns the silence level.

Implementation
    public function get silenceLevel():Number
    public function set silenceLevel(value:Number):void
silenceTimeoutproperty 
silenceTimeout:int  [read-write]

Returns the silence timeout.

Implementation
    public function get silenceTimeout():int
    public function set silenceTimeout(value:int):void
Constructor detail
MicrophoneManager()constructor
public function MicrophoneManager()
Method detail
getInstance()method
public static function getInstance():MicrophoneManager

Getting the MicrophoneManager Instance. It is created the first time the application calls it.

Returns
MicrophoneManager
Event detail
activityevent 
Event object type: flash.events.ActivityEvent

statusevent  
Event object type: flash.events.StatusEvent





 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/labs/acrobatcom/com/adobe/rtc/clientManagers/MicrophoneManager.html