|
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.AudioMixerMediaDevice
public class AudioMixerMediaDevice
Implements a MediaDevice which performs audio mixing using
AudioMixer.
| Constructor Summary | |
|---|---|
AudioMixerMediaDevice(AudioMediaDeviceImpl device)
Initializes a new AudioMixerMediaDevice instance which is to enable audio mixing on a specific AudioMediaDeviceImpl. |
|
| Method Summary | |
|---|---|
void |
connect(javax.media.protocol.DataSource captureDevice)
Connects to a specific CaptureDevice given in the form of a DataSource. |
AudioMixingPushBufferDataSource |
createOutputDataSource()
Creates a DataSource instance for this MediaDevice which gives access to the captured media. |
(package private) javax.media.Renderer |
createRenderer()
Initializes a new Renderer instance which is to play back media on this MediaDevice. |
MediaDeviceSession |
createSession()
Creates a new MediaDeviceSession instance which is to represent the use of this MediaDevice by a MediaStream. |
MediaDirection |
getDirection()
Returns the MediaDirection supported by this device. |
MediaFormat |
getFormat()
Gets the MediaFormat in which this |
MediaType |
getMediaType()
Gets the MediaType that this device supports. |
List<RTPExtension> |
getSupportedExtensions()
Returns a List containing (at the time of writing) a single extension descriptor indicating SENDRECV for mixer-to-client audio levels. |
List<MediaFormat> |
getSupportedFormats(QualityPreset sendPreset,
QualityPreset receivePreset)
Gets the list of MediaFormats supported by this MediaDevice. |
MediaDevice |
getWrappedDevice()
Gets the actual MediaDevice which this MediaDevice is effectively built on top of and forwarding to. |
(package private) void |
removeInputDataSources(DataSourceFilter dataSourceFilter)
Removes the DataSource accepted by a specific DataSourceFilter from the list of input DataSource of the AudioMixer of this AudioMixerMediaDevice from which it reads audio to be mixed. |
| Methods inherited from class net.java.sip.communicator.impl.neomedia.device.AbstractMediaDevice |
|---|
getSupportedFormats |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.java.sip.communicator.service.neomedia.device.MediaDevice |
|---|
getSupportedFormats |
| Constructor Detail |
|---|
public AudioMixerMediaDevice(AudioMediaDeviceImpl device)
device - the AudioMediaDeviceImpl which the new instance is
to enable audio mixing on| 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)public AudioMixingPushBufferDataSource createOutputDataSource()
createOutputDataSource in class AbstractMediaDeviceAbstractMediaDevice.createOutputDataSource()javax.media.Renderer createRenderer()
createRenderer in class AbstractMediaDevicepublic MediaDeviceSession createSession()
createSession in class AbstractMediaDeviceAbstractMediaDevice.createSession()public MediaDirection getDirection()
getDirection in interface MediaDeviceMediaDirection.SENDONLY if this is a read-only device,
MediaDirection.RECVONLY if this is a write-only device or
MediaDirection.SENDRECV if this MediaDevice can both
capture and render mediaMediaDevice.getDirection()public MediaFormat getFormat()
getFormat in interface MediaDeviceMediaDevice.getFormat()public MediaType getMediaType()
getMediaType in interface MediaDeviceMediaType.AUDIO if this is an audio device or
MediaType.VIDEO if this is a video deviceMediaDevice.getMediaType()public List<RTPExtension> getSupportedExtensions()
getSupportedExtensions in interface MediaDevicegetSupportedExtensions in class AbstractMediaDevice
public List<MediaFormat> getSupportedFormats(QualityPreset sendPreset,
QualityPreset receivePreset)
getSupportedFormats in interface MediaDevicesendPreset - not usedreceivePreset - not used
MediaDevice.getSupportedFormats()public MediaDevice getWrappedDevice()
getWrappedDevice in interface MediaDeviceWrapperMediaDeviceWrapper.getWrappedDevice()void removeInputDataSources(DataSourceFilter dataSourceFilter)
dataSourceFilter - the DataSourceFilter which selects the
DataSources to be removed
|
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 | |||||||||