|
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.service.protocol.media.AbstractQualityControlWrapper<T>
T - MediaAwareCallPeerpublic abstract class AbstractQualityControlWrapper<T extends MediaAwareCallPeer<?,?,?>>
A wrapper of media quality control.
| Field Summary | |
|---|---|
protected T |
peer
The peer we are controlling. |
protected QualityPreset |
remoteSendMaxPreset
The currently used video quality preset. |
| Constructor Summary | |
|---|---|
protected |
AbstractQualityControlWrapper(T peer)
Creates quality control for peer. |
| Method Summary | |
|---|---|
protected QualityControl |
getMediaQualityControl()
Checks and obtains quality control from media stream. |
QualityPreset |
getRemoteReceivePreset()
The currently used quality preset announced as receive by remote party. |
QualityPreset |
getRemoteSendMaxPreset()
The maximum preset that the remote party is sending and we are receiving. |
QualityPreset |
getRemoteSendMinPreset()
The minimum preset that the remote party is sending and we are receiving. |
void |
setMaxFrameRate(float f)
Changes local value of frame rate, the one we have received from remote party. |
abstract void |
setPreferredRemoteSendMaxPreset(QualityPreset preset)
Changes the current video settings for the peer with the desired quality settings and inform the peer to stream the video with those settings. |
void |
setRemoteSendMaxPreset(QualityPreset preset)
Changes remote send preset. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final T extends MediaAwareCallPeer<?,?,?> peer
protected QualityPreset remoteSendMaxPreset
| Constructor Detail |
|---|
protected AbstractQualityControlWrapper(T peer)
peer - | Method Detail |
|---|
protected QualityControl getMediaQualityControl()
public QualityPreset getRemoteReceivePreset()
getRemoteReceivePreset in interface QualityControlpublic QualityPreset getRemoteSendMinPreset()
getRemoteSendMinPreset in interface QualityControlpublic QualityPreset getRemoteSendMaxPreset()
getRemoteSendMaxPreset in interface QualityControlpublic void setMaxFrameRate(float f)
f - new frame rate.public void setRemoteSendMaxPreset(QualityPreset preset)
setRemoteSendMaxPreset in interface QualityControlpreset - the new preset value.
public abstract void setPreferredRemoteSendMaxPreset(QualityPreset preset)
throws OperationFailedException
setPreferredRemoteSendMaxPreset in interface QualityControlpreset - the desired video settings
OperationFailedException
|
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 | |||||||||