Configuration for the Opus encoder. More...
Public Member Functions | |
fm.liveswitch.opus.EncoderConfig | deepCopy () |
Gets a deep copy of this configuration. More... | |
EncoderConfig () | |
Creates a new copy of the Opus encoder configurations with default values. More... | |
fm.liveswitch.opus.ApplicationType | getApplication () |
Gets a value that maps to "OPUS_SET_APPLICATION". More... | |
fm.liveswitch.opus.Bandwidth | getBandwidth () |
Gets a value that maps to "OPUS_SET_BANDWIDTH". More... | |
int | getComplexity () |
Gets a value that maps to "OPUS_SET_COMPLEXITY". More... | |
int | getDtx () |
Gets a value that maps to "OPUS_SET_DTX". More... | |
fm.liveswitch.opus.ExpertFrameDuration | getExpertFrameDuration () |
Gets a value that maps to "OPUS_SET_EXPERT_FRAME_DURATION". More... | |
int | getForceChannels () |
Gets a value that maps to "OPUS_SET_FORCE_CHANNELS". More... | |
boolean | getForwardErrorCorrection () |
Gets a value that maps to "OPUS_SET_INBAND_FEC". More... | |
boolean | getIsPredictionDisabled () |
Gets a value that maps to "OPUS_SET_PREDICTION_DISABLED". More... | |
boolean | getIsVbr () |
Gets a value that maps to "OPUS_SET_VBR". More... | |
fm.liveswitch.opus.Bandwidth | getMaxBandwidth () |
Gets a value that maps to "OPUS_SET_MAX_BANDWIDTH". More... | |
int | getPacketLossPercent () |
Gets a value that maps to "OPUS_SET_PACKET_LOSS_PERC". More... | |
fm.liveswitch.opus.Signal | getSignal () |
Gets a value that maps to "OPUS_SET_SIGNAL". More... | |
boolean | getUseConstrainedVBR () |
Gets a value that maps to "OPUS_SET_VBR_CONSTRAINT". More... | |
void | setApplication (fm.liveswitch.opus.ApplicationType value) |
Sets a value that maps to "OPUS_SET_APPLICATION". More... | |
void | setBandwidth (fm.liveswitch.opus.Bandwidth value) |
Sets a value that maps to "OPUS_SET_BANDWIDTH". More... | |
void | setComplexity (int value) |
Sets a value that maps to "OPUS_SET_COMPLEXITY". More... | |
void | setDtx (int value) |
Sets a value that maps to "OPUS_SET_DTX". More... | |
void | setExpertFrameDuration (fm.liveswitch.opus.ExpertFrameDuration value) |
Sets a value that maps to "OPUS_SET_EXPERT_FRAME_DURATION". More... | |
void | setForceChannels (int value) |
Sets a value that maps to "OPUS_SET_FORCE_CHANNELS". More... | |
void | setForwardErrorCorrection (boolean value) |
Sets a value that maps to "OPUS_SET_INBAND_FEC". More... | |
void | setIsPredictionDisabled (boolean value) |
Sets a value that maps to "OPUS_SET_PREDICTION_DISABLED". More... | |
void | setIsVbr (boolean value) |
Sets a value that maps to "OPUS_SET_VBR". More... | |
void | setMaxBandwidth (fm.liveswitch.opus.Bandwidth value) |
Sets a value that maps to "OPUS_SET_MAX_BANDWIDTH". More... | |
void | setPacketLossPercent (int value) |
Sets a value that maps to "OPUS_SET_PACKET_LOSS_PERC". More... | |
void | setSignal (fm.liveswitch.opus.Signal value) |
Sets a value that maps to "OPUS_SET_SIGNAL". More... | |
void | setUseConstrainedVBR (boolean value) |
Sets a value that maps to "OPUS_SET_VBR_CONSTRAINT". More... | |
Static Public Member Functions | |
static int | getAuto () |
Gets the integral value that maps to the Opus "OPUS_AUTO" constant. More... | |
Configuration for the Opus encoder.
Properties map to Opus controls. http://www.opus-codec.org/
fm.liveswitch.opus.EncoderConfig.EncoderConfig | ( | ) |
Creates a new copy of the Opus encoder configurations with default values.
fm.liveswitch.opus.EncoderConfig fm.liveswitch.opus.EncoderConfig.deepCopy | ( | ) |
Gets a deep copy of this configuration.
fm.liveswitch.opus.ApplicationType fm.liveswitch.opus.EncoderConfig.getApplication | ( | ) |
Gets a value that maps to "OPUS_SET_APPLICATION".
|
static |
Gets the integral value that maps to the Opus "OPUS_AUTO" constant.
Several int configuration properties can be set to this value.
fm.liveswitch.opus.Bandwidth fm.liveswitch.opus.EncoderConfig.getBandwidth | ( | ) |
Gets a value that maps to "OPUS_SET_BANDWIDTH".
int fm.liveswitch.opus.EncoderConfig.getComplexity | ( | ) |
Gets a value that maps to "OPUS_SET_COMPLEXITY".
int fm.liveswitch.opus.EncoderConfig.getDtx | ( | ) |
Gets a value that maps to "OPUS_SET_DTX".
fm.liveswitch.opus.ExpertFrameDuration fm.liveswitch.opus.EncoderConfig.getExpertFrameDuration | ( | ) |
Gets a value that maps to "OPUS_SET_EXPERT_FRAME_DURATION".
int fm.liveswitch.opus.EncoderConfig.getForceChannels | ( | ) |
Gets a value that maps to "OPUS_SET_FORCE_CHANNELS".
boolean fm.liveswitch.opus.EncoderConfig.getForwardErrorCorrection | ( | ) |
Gets a value that maps to "OPUS_SET_INBAND_FEC".
boolean fm.liveswitch.opus.EncoderConfig.getIsPredictionDisabled | ( | ) |
Gets a value that maps to "OPUS_SET_PREDICTION_DISABLED".
boolean fm.liveswitch.opus.EncoderConfig.getIsVbr | ( | ) |
Gets a value that maps to "OPUS_SET_VBR".
fm.liveswitch.opus.Bandwidth fm.liveswitch.opus.EncoderConfig.getMaxBandwidth | ( | ) |
Gets a value that maps to "OPUS_SET_MAX_BANDWIDTH".
int fm.liveswitch.opus.EncoderConfig.getPacketLossPercent | ( | ) |
Gets a value that maps to "OPUS_SET_PACKET_LOSS_PERC".
fm.liveswitch.opus.Signal fm.liveswitch.opus.EncoderConfig.getSignal | ( | ) |
Gets a value that maps to "OPUS_SET_SIGNAL".
boolean fm.liveswitch.opus.EncoderConfig.getUseConstrainedVBR | ( | ) |
Gets a value that maps to "OPUS_SET_VBR_CONSTRAINT".
void fm.liveswitch.opus.EncoderConfig.setApplication | ( | fm.liveswitch.opus.ApplicationType | value | ) |
Sets a value that maps to "OPUS_SET_APPLICATION".
void fm.liveswitch.opus.EncoderConfig.setBandwidth | ( | fm.liveswitch.opus.Bandwidth | value | ) |
Sets a value that maps to "OPUS_SET_BANDWIDTH".
void fm.liveswitch.opus.EncoderConfig.setComplexity | ( | int | value | ) |
Sets a value that maps to "OPUS_SET_COMPLEXITY".
void fm.liveswitch.opus.EncoderConfig.setDtx | ( | int | value | ) |
Sets a value that maps to "OPUS_SET_DTX".
void fm.liveswitch.opus.EncoderConfig.setExpertFrameDuration | ( | fm.liveswitch.opus.ExpertFrameDuration | value | ) |
Sets a value that maps to "OPUS_SET_EXPERT_FRAME_DURATION".
void fm.liveswitch.opus.EncoderConfig.setForceChannels | ( | int | value | ) |
Sets a value that maps to "OPUS_SET_FORCE_CHANNELS".
void fm.liveswitch.opus.EncoderConfig.setForwardErrorCorrection | ( | boolean | value | ) |
Sets a value that maps to "OPUS_SET_INBAND_FEC".
void fm.liveswitch.opus.EncoderConfig.setIsPredictionDisabled | ( | boolean | value | ) |
Sets a value that maps to "OPUS_SET_PREDICTION_DISABLED".
void fm.liveswitch.opus.EncoderConfig.setIsVbr | ( | boolean | value | ) |
Sets a value that maps to "OPUS_SET_VBR".
void fm.liveswitch.opus.EncoderConfig.setMaxBandwidth | ( | fm.liveswitch.opus.Bandwidth | value | ) |
Sets a value that maps to "OPUS_SET_MAX_BANDWIDTH".
void fm.liveswitch.opus.EncoderConfig.setPacketLossPercent | ( | int | value | ) |
Sets a value that maps to "OPUS_SET_PACKET_LOSS_PERC".
void fm.liveswitch.opus.EncoderConfig.setSignal | ( | fm.liveswitch.opus.Signal | value | ) |
Sets a value that maps to "OPUS_SET_SIGNAL".
void fm.liveswitch.opus.EncoderConfig.setUseConstrainedVBR | ( | boolean | value | ) |
Sets a value that maps to "OPUS_SET_VBR_CONSTRAINT".