Commit 2c650630 authored by Simon Morlat's avatar Simon Morlat
Browse files

add nortp mute feature

parent ba988a9a
......@@ -129,6 +129,9 @@ void audio_stream_set_echo_canceller_params(AudioStream *st, int tail_len_ms, in
void audio_stream_set_mic_gain(AudioStream *stream, float gain);
/* enable/disable rtp stream */
void audio_stream_mute_rtp(AudioStream *stream, bool_t val);
/*enable noise gate, must be done before start()*/
void audio_stream_enable_noise_gate(AudioStream *stream, bool_t val);
......@@ -598,3 +598,14 @@ void audio_stream_get_local_rtp_stats(AudioStream *stream, rtp_stats_t *lstats){
}else memset(lstats,0,sizeof(rtp_stats_t));
void audio_stream_mute_rtp(AudioStream *stream, bool_t val)
if (stream->rtpsend){
if (val)
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