|
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 | |||||||||
public interface MediaDevice
The MediaDevice class represents capture and playback devices that can be used to grab or render media. Sound cards, USB phones and webcams are examples of such media devices.
| Method Summary | |
|---|---|
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. |
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. |
| Method Detail |
|---|
MediaDirection getDirection()
MediaFormat getFormat()
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.
|
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 | |||||||||