Commit e9e6f813 authored by Simon Morlat's avatar Simon Morlat

rename bitrate_control to adaptive_bitrate_control

parent 79cbc527
......@@ -134,8 +134,8 @@ MS2_PUBLIC void audio_stream_enable_automatic_gain_control(AudioStream *stream,
/*to be done before start */
MS2_PUBLIC void audio_stream_set_echo_canceller_params(AudioStream *st, int tail_len_ms, int delay_ms, int framesize);
/*enable rate control */
MS2_PUBLIC void audio_stream_enable_bitrate_control(AudioStream *st, bool_t enabled);
/*enable adaptive rate control */
MS2_PUBLIC void audio_stream_enable_adaptive_bitrate_control(AudioStream *st, bool_t enabled);
MS2_PUBLIC void audio_stream_set_mic_gain(AudioStream *stream, float gain);
......
......@@ -414,7 +414,7 @@ int audio_stream_start_full(AudioStream *stream, RtpProfile *profile, const char
return 0;
}
void audio_stream_enable_bitrate_control(AudioStream *st, bool_t enabled){
void audio_stream_enable_adaptive_bitrate_control(AudioStream *st, bool_t enabled){
st->use_rc=enabled;
}
......
......@@ -348,7 +348,7 @@ static void run_media_streams(int localport, const char *remote_ip, int remotepo
audio_stream_enable_noise_gate(audio,use_ng);
audio_stream_set_echo_canceller_params(audio,ec_len_ms,ec_delay_ms,ec_framesize);
audio_stream_enable_echo_limiter(audio,el);
audio_stream_enable_bitrate_control(audio,use_rc);
audio_stream_enable_adaptive_bitrate_control(audio,use_rc);
printf("Starting audio stream.\n");
audio_stream_start_full(audio,profile,remote_ip,remoteport,remoteport+1, payload, jitter,infile,outfile,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment