public class QualityPreset extends java.lang.Object implements java.lang.Comparable<QualityPreset>
Modifier and Type | Field and Description |
---|---|
static QualityPreset |
HD_QUALITY
720p HD
|
static QualityPreset |
LO_QUALITY
Low
|
static QualityPreset |
SD_QUALITY
SD
|
Constructor and Description |
---|
QualityPreset(java.awt.Dimension resolution)
Initializes a new quality preset with a specific resolution and
an unspecified frameRate.
|
QualityPreset(java.awt.Dimension resolution,
float frameRate)
Initializes a new quality preset with a specific resolution and
a specific frameRate.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(QualityPreset o)
Compares to presets and its dimensions.
|
float |
getFameRate()
Returns this preset frame rate.
|
java.awt.Dimension |
getResolution()
Returns this preset resolution.
|
public static final QualityPreset HD_QUALITY
public static final QualityPreset LO_QUALITY
public static final QualityPreset SD_QUALITY
public QualityPreset(java.awt.Dimension resolution, float frameRate)
resolution
- the resolutionframeRate
- the frame ratepublic QualityPreset(java.awt.Dimension resolution)
resolution
- the resolutionpublic float getFameRate()
public java.awt.Dimension getResolution()
public int compareTo(QualityPreset o)
compareTo
in interface java.lang.Comparable<QualityPreset>
o
- object to compare to.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.