public interface MediaDevice
Modifier and Type | Method and Description |
---|---|
MediaDirection |
getDirection()
Returns the MediaDirection supported by this device.
|
MediaFormat |
getFormat()
Returns the MediaFormat that this device is currently set to use
when capturing data.
|
MediaType |
getMediaType()
Returns the MediaType that this device supports.
|
java.util.List<RTPExtension> |
getSupportedExtensions()
Returns the List of RTPExtensions that this device
know how to handle.
|
java.util.List<MediaFormat> |
getSupportedFormats()
Returns a list of MediaFormat instances representing the media
formats supported by this MediaDevice.
|
java.util.List<MediaFormat> |
getSupportedFormats(QualityPreset localPreset,
QualityPreset remotePreset)
Returns a list of MediaFormat instances representing the media
formats supported by this MediaDevice.
|
java.util.List<MediaFormat> |
getSupportedFormats(QualityPreset localPreset,
QualityPreset remotePreset,
EncodingConfiguration encodingConfiguration)
Returns a list of MediaFormat instances representing the media
formats supported by this MediaDevice and enabled in
encodingConfiguration.
|
MediaDirection getDirection()
MediaFormat getFormat()
MediaType getMediaType()
java.util.List<RTPExtension> getSupportedExtensions()
java.util.List<MediaFormat> getSupportedFormats()
java.util.List<MediaFormat> getSupportedFormats(QualityPreset localPreset, QualityPreset remotePreset)
localPreset
- the preset used to set the send format parameters,
used for video and settings.remotePreset
- the preset used to set the receive format parameters,
used for video and settings.java.util.List<MediaFormat> getSupportedFormats(QualityPreset localPreset, QualityPreset remotePreset, EncodingConfiguration encodingConfiguration)
localPreset
- the preset used to set the send format parameters,
used for video and settings.remotePreset
- the preset used to set the receive format parameters,
used for video and settings.encodingConfiguration
- the EncodingConfiguration instance
to use.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.