|
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
public abstract class AbstractMediaDevice
Defines the interface for MediaDevice required by the net.java.sip.communicator.impl.neomedia implementation of net.java.sip.communicator.service.neomedia.
| Constructor Summary | |
|---|---|
AbstractMediaDevice()
|
|
| Method Summary | |
|---|---|
void |
close()
Closes this MediaDevice. |
void |
connect(javax.media.protocol.DataSource captureDevice)
Connects to a specific CaptureDevice given in the form of a DataSource. |
(package private) abstract javax.media.protocol.DataSource |
createOutputDataSource()
Creates a DataSource instance for this MediaDevice which gives access to the captured media. |
MediaDeviceSession |
createSession()
Creates a new MediaDeviceSession instance which is to represent the use of this MediaDevice by a MediaStream. |
MediaDeviceSession |
getSession()
Get the last used MediaDeviceSession. |
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. |
List<MediaFormat> |
getSupportedFormats()
Gets a list of MediaFormats supported by this MediaDevice. |
| 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 |
|---|
getDirection, getFormat, getMediaType, getSupportedFormats |
| Constructor Detail |
|---|
public AbstractMediaDevice()
| Method Detail |
|---|
public void close()
public void connect(javax.media.protocol.DataSource captureDevice)
throws IOException
captureDevice - the CaptureDevice to be connected to
IOException - if anything wrong happens while connecting to the
specified captureDeviceabstract javax.media.protocol.DataSource createOutputDataSource()
public MediaDeviceSession createSession()
public MediaDeviceSession getSession()
public List<RTPExtension> getSupportedExtensions()
getSupportedExtensions in interface MediaDevicepublic List<MediaFormat> getSupportedFormats()
getSupportedFormats in interface MediaDeviceMediaDevice.getSupportedFormats()
|
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 | |||||||||