|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.device.AbstractMediaDevice
net.java.sip.communicator.impl.neomedia.device.MediaDeviceImpl
net.java.sip.communicator.impl.neomedia.device.AudioMediaDeviceImpl
public class AudioMediaDeviceImpl
Extends MediaDeviceImpl with audio-specific functionality.
| Constructor Summary | |
|---|---|
AudioMediaDeviceImpl()
Initializes a new AudioMediaDeviceImpl instance which represents a MediaDevice with MediaType AUDIO and a MediaDirection which does not allow sending. |
|
AudioMediaDeviceImpl(javax.media.CaptureDeviceInfo captureDeviceInfo)
Initializes a new AudioMediaDeviceImpl which is to provide an implementation of MediaDevice with MediaType AUDIO to a CaptureDevice with a specific CaptureDeviceInfo. |
|
| Method Summary | |
|---|---|
void |
connect(javax.media.protocol.DataSource captureDevice)
Connects to a specific CaptureDevice given in the form of a DataSource. |
(package private) javax.media.protocol.CaptureDevice |
createCaptureDevice()
Creates the JMF CaptureDevice this instance represents and provides an implementation of MediaDevice for. |
(package private) javax.media.Renderer |
createRenderer()
Initializes a new Renderer instance which is to play back media on this MediaDevice. |
List<RTPExtension> |
getSupportedExtensions()
Returns a List containing (at the time of writing) a single extension descriptor indicating RECVONLY support for mixer-to-client audio levels. |
protected javax.media.protocol.CaptureDevice |
superCreateCaptureDevice()
Invokes the super (with respect to the AudioMediaDeviceImpl class) implementation of MediaDeviceImpl.createCaptureDevice(). |
| Methods inherited from class net.java.sip.communicator.impl.neomedia.device.MediaDeviceImpl |
|---|
createOutputDataSource, createTracingCaptureDevice, getCaptureDeviceInfo, getDirection, getFormat, getMediaType, getSupportedFormats, toString |
| Methods inherited from class net.java.sip.communicator.impl.neomedia.device.AbstractMediaDevice |
|---|
createSession, getSupportedFormats |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AudioMediaDeviceImpl()
public AudioMediaDeviceImpl(javax.media.CaptureDeviceInfo captureDeviceInfo)
captureDeviceInfo - the CaptureDeviceInfo of the
CaptureDevice to which the new instance is to provide an
implementation of MediaDevice| Method Detail |
|---|
public void connect(javax.media.protocol.DataSource captureDevice)
throws IOException
connect in class AbstractMediaDevicecaptureDevice - the CaptureDevice to be connected to
IOException - if anything wrong happens while connecting to the
specified captureDeviceAbstractMediaDevice.connect(DataSource)javax.media.protocol.CaptureDevice createCaptureDevice()
createCaptureDevice in class MediaDeviceImpljavax.media.Renderer createRenderer()
createRenderer in class MediaDeviceImplpublic List<RTPExtension> getSupportedExtensions()
getSupportedExtensions in interface MediaDevicegetSupportedExtensions in class AbstractMediaDeviceprotected javax.media.protocol.CaptureDevice superCreateCaptureDevice()
MediaDeviceImpl.createCaptureDevice().
Allows this instance to customize the very CaptureDevice which
is to be possibly further wrapped by this instance.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||