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.
|
org.jitsi.utils.MediaType |
getMediaType()
Returns the MediaType that this device supports.
|
List<RTPExtension> |
getSupportedExtensions()
Returns the List of RTPExtensions that this device
know how to handle.
|
List<MediaFormat> |
getSupportedFormats()
Returns a list of MediaFormat instances representing the media
formats supported by this MediaDevice.
|
List<MediaFormat> |
getSupportedFormats(QualityPreset localPreset,
QualityPreset remotePreset)
Returns a list of MediaFormat instances representing the media
formats supported by this MediaDevice.
|
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()
org.jitsi.utils.MediaType getMediaType()
List<RTPExtension> getSupportedExtensions()
List<MediaFormat> getSupportedFormats()
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.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.Copyright © 2021 jitsi.org. All rights reserved.