com.aol.acc
Class AccAvManager

java.lang.Object
  extended by com.aol.acc.AccBase
      extended by com.aol.acc.AccAvManager

public class AccAvManager
extends AccBase

IAccAvManager is used for creating an audio/video session with one or
many remote users. Currently this interface works only on Win32.


Method Summary
 AccAvSession createMultipartySession(java.lang.String reserved, int flags)
          Starts a centralized a/v multiparty session.
Users can be added via Invite().
Flags are from AccAvFlags.

 AccAvSession createSession(java.lang.String userName, AccAvFlags flags)
          Starts an a/v session with the specified user.
Flags are from AccAvFlags.

 java.lang.String[] getAvailableInputDevices()
          The list of available audio input devices on the machine
 java.lang.String[] getAvailableOutputDevices()
          The list of available audio output devices on the machine
 java.lang.String[] getAvailableVideoInputDevices()
          The list of available video capture devices on the machine
 boolean getEchoCancellation()
          Turns on/off echo cancellation for audio/video sessions
 java.lang.String getInputDevice()
          Selects the audio input device
 boolean getInputMuted()
          Mutes the audio input device
 int getInputVolume()
          Volume of the audio input device, i.e.
 java.lang.String getLibraryName()
          The current stack name for the audio/video software
 int getLibraryVersion()
          The current stack version for the audio/video software
 int getMaxBitrate()
          Maximum bandwidth that can be used for media, in bits per second
 java.lang.String getOutputDevice()
          Selects the audio output device
 int getOutputVolume()
          Volume of the audio output device, i.e.
 int getTemporalSpatialTradeOff()
          Trades framerate for frame quality, range can be 0 - 100
 java.lang.String getVideoInputDevice()
          Selects the video capture device
 java.lang.String getWindowsAudioInputDevice()
          Gets the audio input device chosen by the user in the control panel
 java.lang.String getWindowsAudioOutputDevice()
          Gets the audio output device chosen by the user in the control panel
 java.lang.String getWindowsVoiceInputDevice()
          Gets the voice input device chosen by the user in the control panel
 java.lang.String getWindowsVoiceOutputDevice()
          Gets the voice output device chosen by the user in the control panel
 java.lang.String normalizePhoneNumber(java.lang.String inNumber)
          Normalizes a phone number; e.g.
 void setEchoCancellation(boolean EchoCancellation)
          Turns on/off echo cancellation for audio/video sessions
 void setInputDevice(java.lang.String InputDevice)
          Selects the audio input device
 void setInputMuted(boolean InputMuted)
          Mutes the audio input device
 void setInputVolume(int InputVolume)
          Volume of the audio input device, i.e.
 void setMaxBitrate(int MaxBitrate)
          Maximum bandwidth that can be used for media, in bits per second
 void setOutputDevice(java.lang.String OutputDevice)
          Selects the audio output device
 void setOutputVolume(int OutputVolume)
          Volume of the audio output device, i.e.
 void setTemporalSpatialTradeOff(int TemporalSpatialTradeOff)
          Trades framerate for frame quality, range can be 0 - 100
 void setVideoInputDevice(java.lang.String VideoInputDevice)
          Selects the video capture device
 
Methods inherited from class com.aol.acc.AccBase
compareHandle, equals
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createSession

public AccAvSession createSession(java.lang.String userName,
                                  AccAvFlags flags)
                           throws AccException
Starts an a/v session with the specified user.
Flags are from AccAvFlags.

Throws:
AccException

createMultipartySession

public AccAvSession createMultipartySession(java.lang.String reserved,
                                            int flags)
                                     throws AccException
Starts a centralized a/v multiparty session.
Users can be added via Invite().
Flags are from AccAvFlags.

Throws:
AccException

normalizePhoneNumber

public java.lang.String normalizePhoneNumber(java.lang.String inNumber)
                                      throws AccException
Normalizes a phone number; e.g. (703)555-1212 becomes +17035551212

Throws:
AccException

getInputMuted

public boolean getInputMuted()
                      throws AccException
Mutes the audio input device

Throws:
AccException

setInputMuted

public void setInputMuted(boolean InputMuted)
                   throws AccException
Mutes the audio input device

Throws:
AccException

getInputVolume

public int getInputVolume()
                   throws AccException
Volume of the audio input device, i.e. microphone, range can be 0 - 100

Throws:
AccException

setInputVolume

public void setInputVolume(int InputVolume)
                    throws AccException
Volume of the audio input device, i.e. microphone, range can be 0 - 100

Throws:
AccException

getOutputVolume

public int getOutputVolume()
                    throws AccException
Volume of the audio output device, i.e. speakers, range can be 0 - 100

Throws:
AccException

setOutputVolume

public void setOutputVolume(int OutputVolume)
                     throws AccException
Volume of the audio output device, i.e. speakers, range can be 0 - 100

Throws:
AccException

getInputDevice

public java.lang.String getInputDevice()
                                throws AccException
Selects the audio input device

Throws:
AccException

setInputDevice

public void setInputDevice(java.lang.String InputDevice)
                    throws AccException
Selects the audio input device

Throws:
AccException

getOutputDevice

public java.lang.String getOutputDevice()
                                 throws AccException
Selects the audio output device

Throws:
AccException

setOutputDevice

public void setOutputDevice(java.lang.String OutputDevice)
                     throws AccException
Selects the audio output device

Throws:
AccException

getAvailableInputDevices

public java.lang.String[] getAvailableInputDevices()
                                            throws AccException
The list of available audio input devices on the machine

Throws:
AccException

getAvailableOutputDevices

public java.lang.String[] getAvailableOutputDevices()
                                             throws AccException
The list of available audio output devices on the machine

Throws:
AccException

getTemporalSpatialTradeOff

public int getTemporalSpatialTradeOff()
                               throws AccException
Trades framerate for frame quality, range can be 0 - 100

Throws:
AccException

setTemporalSpatialTradeOff

public void setTemporalSpatialTradeOff(int TemporalSpatialTradeOff)
                                throws AccException
Trades framerate for frame quality, range can be 0 - 100

Throws:
AccException

getMaxBitrate

public int getMaxBitrate()
                  throws AccException
Maximum bandwidth that can be used for media, in bits per second

Throws:
AccException

setMaxBitrate

public void setMaxBitrate(int MaxBitrate)
                   throws AccException
Maximum bandwidth that can be used for media, in bits per second

Throws:
AccException

getEchoCancellation

public boolean getEchoCancellation()
                            throws AccException
Turns on/off echo cancellation for audio/video sessions

Throws:
AccException

setEchoCancellation

public void setEchoCancellation(boolean EchoCancellation)
                         throws AccException
Turns on/off echo cancellation for audio/video sessions

Throws:
AccException

getLibraryName

public java.lang.String getLibraryName()
                                throws AccException
The current stack name for the audio/video software

Throws:
AccException

getLibraryVersion

public int getLibraryVersion()
                      throws AccException
The current stack version for the audio/video software

Throws:
AccException

getVideoInputDevice

public java.lang.String getVideoInputDevice()
                                     throws AccException
Selects the video capture device

Throws:
AccException

setVideoInputDevice

public void setVideoInputDevice(java.lang.String VideoInputDevice)
                         throws AccException
Selects the video capture device

Throws:
AccException

getAvailableVideoInputDevices

public java.lang.String[] getAvailableVideoInputDevices()
                                                 throws AccException
The list of available video capture devices on the machine

Throws:
AccException

getWindowsVoiceInputDevice

public java.lang.String getWindowsVoiceInputDevice()
                                            throws AccException
Gets the voice input device chosen by the user in the control panel

Throws:
AccException

getWindowsVoiceOutputDevice

public java.lang.String getWindowsVoiceOutputDevice()
                                             throws AccException
Gets the voice output device chosen by the user in the control panel

Throws:
AccException

getWindowsAudioInputDevice

public java.lang.String getWindowsAudioInputDevice()
                                            throws AccException
Gets the audio input device chosen by the user in the control panel

Throws:
AccException

getWindowsAudioOutputDevice

public java.lang.String getWindowsAudioOutputDevice()
                                             throws AccException
Gets the audio output device chosen by the user in the control panel

Throws:
AccException