Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.sip
Class QualityControlWrapper

java.lang.Object
  extended by net.java.sip.communicator.service.protocol.media.AbstractQualityControlWrapper<CallPeerSipImpl>
      extended by net.java.sip.communicator.impl.protocol.sip.QualityControlWrapper
All Implemented Interfaces:
QualityControl

public class QualityControlWrapper
extends AbstractQualityControlWrapper<CallPeerSipImpl>

A wrapper of media quality control.

Author:
Damian Minkov

Field Summary
 
Fields inherited from class net.java.sip.communicator.service.protocol.media.AbstractQualityControlWrapper
peer, remoteSendMaxPreset
 
Constructor Summary
QualityControlWrapper(CallPeerSipImpl peer)
          Creates quality control for peer.
 
Method Summary
 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.
 
Methods inherited from class net.java.sip.communicator.service.protocol.media.AbstractQualityControlWrapper
getMediaQualityControl, getRemoteReceivePreset, getRemoteSendMaxPreset, getRemoteSendMinPreset, setMaxFrameRate, setRemoteSendMaxPreset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QualityControlWrapper

QualityControlWrapper(CallPeerSipImpl peer)
Creates quality control for peer.

Parameters:
peer - peer
Method Detail

setPreferredRemoteSendMaxPreset

public void setPreferredRemoteSendMaxPreset(QualityPreset preset)
                                     throws OperationFailedException
Changes the current video settings for the peer with the desired quality settings and inform the peer to stream the video with those settings.

Specified by:
setPreferredRemoteSendMaxPreset in interface QualityControl
Specified by:
setPreferredRemoteSendMaxPreset in class AbstractQualityControlWrapper<CallPeerSipImpl>
Parameters:
preset - the desired video settings
Throws:
OperationFailedException

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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