public class AudioSilenceMediaDevice extends AudioMediaDeviceImpl
| Constructor and Description |
|---|
AudioSilenceMediaDevice()
Initializes a new
AudioSilenceMediaDevice instance. |
AudioSilenceMediaDevice(boolean clockOnly)
Initializes a new
AudioSilenceMediaDevice instance. |
| Modifier and Type | Method and Description |
|---|---|
protected javax.media.protocol.CaptureDevice |
createCaptureDevice()
Creates the JMF CaptureDevice this instance represents and
provides an implementation of MediaDevice for.
|
protected javax.media.Processor |
createPlayer(javax.media.protocol.DataSource dataSource)
Initializes a new Processor instance which is to be used 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.
|
connect, createRenderer, getSupportedExtensions, superCreateCaptureDevicecreateOutputDataSource, createTracingCaptureDevice, getCaptureDeviceInfo, getCaptureDeviceInfoLocatorProtocol, getFormat, getMediaType, getSupportedFormats, getSupportedFormats, getSupportedFormats, toStringgetSupportedFormatspublic AudioSilenceMediaDevice()
AudioSilenceMediaDevice instance.public AudioSilenceMediaDevice(boolean clockOnly)
AudioSilenceMediaDevice instance.clockOnly - the value to set to clockOnly.protected javax.media.protocol.CaptureDevice createCaptureDevice()
createCaptureDevice in class AudioMediaDeviceImplprotected javax.media.Processor createPlayer(javax.media.protocol.DataSource dataSource)
createPlayer in class AbstractMediaDevicedataSource - the DataSource which is to be played back by
the new Processor instancepublic MediaDeviceSession createSession()
createSession in class AbstractMediaDevicepublic MediaDirection getDirection()
MediaDirection.SENDRECV because this instance stands for a relay
and because the super bases the MediaDirection on the
CaptureDeviceInfo which this instance does not have.getDirection in interface MediaDevicegetDirection in class MediaDeviceImplMediaDirection.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()Copyright © 2021 jitsi.org. All rights reserved.