public class

VideoQuality

extends Observable
java.lang.Object
   ↳ java.util.Observable
     ↳ com.c2call.sdk.pub.video.VideoQuality

Summary

Constants
int CHANGED_BITRATE
int CHANGED_FRAMERATE
int CHANGED_MAX_QUANTIZER
int CHANGED_RESOLUTION
Public Constructors
VideoQuality(NativeRtpContext nativeRtpContext, SCResolutionList resolutions, int initialResolution, int minFrameRate, int maxFrameRate, int initialFrameRate, float minBitrateFactor, float maxBitrateFactor, float initialBitrateFactor)
Public Methods
boolean decreaseBitrate(boolean doNotify)
boolean decreaseFramerate(boolean doNotify)
boolean decreaseResolution(boolean doNotify)
int getBitrate()
int getFramerate()
int getMaxFramerate()
int getMaxQuantizer()
int getMinFramerate()
SCResolution getResolution(int idx)
int getResolution()
SCResolutionList getResolutions()
boolean increaseBitrate(boolean doNotify)
boolean increaseFramerate(boolean doNotify)
boolean increaseResolution(boolean doNotify)
void resetBitrateLevel(boolean doNotify)
boolean setFramerate(int value, boolean doNotify)
void setMaxQuantizer(int maxQuantizer, boolean notify)
void setResolution(int resIdx, boolean notify)
void setTargetBitrate(int bitrate, boolean notify)
[Expand]
Inherited Methods
From class java.util.Observable
From class java.lang.Object

Constants

public static final int CHANGED_BITRATE

Constant Value: 4 (0x00000004)

public static final int CHANGED_FRAMERATE

Constant Value: 1 (0x00000001)

public static final int CHANGED_MAX_QUANTIZER

Constant Value: 8 (0x00000008)

public static final int CHANGED_RESOLUTION

Constant Value: 2 (0x00000002)

Public Constructors

public VideoQuality (NativeRtpContext nativeRtpContext, SCResolutionList resolutions, int initialResolution, int minFrameRate, int maxFrameRate, int initialFrameRate, float minBitrateFactor, float maxBitrateFactor, float initialBitrateFactor)

Public Methods

public boolean decreaseBitrate (boolean doNotify)

public boolean decreaseFramerate (boolean doNotify)

public boolean decreaseResolution (boolean doNotify)

public int getBitrate ()

public int getFramerate ()

public int getMaxFramerate ()

public int getMaxQuantizer ()

public int getMinFramerate ()

public SCResolution getResolution (int idx)

public int getResolution ()

public SCResolutionList getResolutions ()

public boolean increaseBitrate (boolean doNotify)

public boolean increaseFramerate (boolean doNotify)

public boolean increaseResolution (boolean doNotify)

public void resetBitrateLevel (boolean doNotify)

public boolean setFramerate (int value, boolean doNotify)

public void setMaxQuantizer (int maxQuantizer, boolean notify)

public void setResolution (int resIdx, boolean notify)

public void setTargetBitrate (int bitrate, boolean notify)