public class AudioMediaDeviceImpl extends MediaDeviceImpl
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect(javax.media.protocol.DataSource captureDevice)
Connects to a specific CaptureDevice given in the form of a
DataSource.
|
protected javax.media.protocol.CaptureDevice |
createCaptureDevice()
Creates the JMF CaptureDevice this instance represents and
provides an implementation of MediaDevice for.
|
protected 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 extension descriptor indicating
RECVONLY support for mixer-to-client audio levels,
and extension descriptor indicating SENDRECV support for
client-to-mixer audio levels.
|
protected javax.media.protocol.CaptureDevice |
superCreateCaptureDevice()
Invokes the super (with respect to the AudioMediaDeviceImpl
class) implementation of
MediaDeviceImpl.createCaptureDevice(). |
createOutputDataSource, createTracingCaptureDevice, getCaptureDeviceInfo, getCaptureDeviceInfoLocatorProtocol, getDirection, getFormat, getMediaType, getSupportedFormats, getSupportedFormats, getSupportedFormats, toStringcreatePlayer, createSession, getSupportedFormatspublic AudioMediaDeviceImpl()
public AudioMediaDeviceImpl(javax.media.CaptureDeviceInfo captureDeviceInfo)
captureDeviceInfo - the CaptureDeviceInfo of the
CaptureDevice to which the new instance is to provide an
implementation of MediaDevicepublic void connect(javax.media.protocol.DataSource captureDevice)
throws IOException
connect in class AbstractMediaDevicecaptureDevice - the CaptureDevice to be connected toIOException - if anything wrong happens while connecting to the
specified captureDeviceAbstractMediaDevice.connect(DataSource)protected javax.media.protocol.CaptureDevice createCaptureDevice()
createCaptureDevice in class MediaDeviceImplprotected javax.media.Renderer createRenderer()
createRenderer in class AbstractMediaDevicepublic 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.Copyright © 2021 jitsi.org. All rights reserved.