SILK8() { CODEC_USER_NAME = "SILK"; CODEC_NAME = "silk8"; CODEC_DESCRIPTION = "6-20kbit"; CODEC_NUMBER = 117; CODEC_DEFAULT_SETTING = "always"; super.update(); }
public Opus() { CODEC_NAME = "Opus"; CODEC_USER_NAME = "opus"; CODEC_NUMBER = 107; CODEC_DEFAULT_SETTING = "always"; if (RtpStreamSender.isSupportedSampRate(SAMPLING_RATE_48)) { setSampleRate(SAMPLING_RATE_48); } else { setSampleRate(SAMPLING_RATE_16); } super.update(); }
public void fail() { update(); failed = true; }
void load() { update(); loaded = true; }