Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.neomedia
Interface QualityControl

All Known Implementing Classes:
AbstractQualityControlWrapper, QualityControlWrapper, QualityControlWrapper

public interface QualityControl

The quality controls we use to control other party video presets.

Author:
Damian Minkov

Method Summary
 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 setPreferredRemoteSendMaxPreset(QualityPreset preset)
          Changes remote send preset and protocols who can handle the changes will implement this for re-inviting the other party or just sending that media has changed.
 void setRemoteSendMaxPreset(QualityPreset preset)
          Changes remote send preset.
 

Method Detail

getRemoteReceivePreset

QualityPreset getRemoteReceivePreset()
The currently used quality preset announced as receive by remote party.

Returns:
the current quality preset.

getRemoteSendMinPreset

QualityPreset getRemoteSendMinPreset()
The minimum preset that the remote party is sending and we are receiving.

Returns:
the minimum remote preset.

getRemoteSendMaxPreset

QualityPreset getRemoteSendMaxPreset()
The maximum preset that the remote party is sending and we are receiving.

Returns:
the maximum preset announced from remote party as send.

setRemoteSendMaxPreset

void setRemoteSendMaxPreset(QualityPreset preset)
Changes remote send preset. This doesn't have impact of current stream. But will have on next media changes. With this we can try to change the resolution that the remote part is sending.

Parameters:
preset - the new preset value.

setPreferredRemoteSendMaxPreset

void setPreferredRemoteSendMaxPreset(QualityPreset preset)
                                     throws OperationFailedException
Changes remote send preset and protocols who can handle the changes will implement this for re-inviting the other party or just sending that media has changed.

Parameters:
preset - the new preset.
Throws:
OperationFailedException

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.