diff --git a/daemon/main.c b/daemon/main.c index ec840dcc6..42e36fc1f 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -101,6 +101,7 @@ struct rtpengine_config rtpe_config = { .mqtt_keepalive = 30, .mqtt_publish_interval = 5000, .dtmf_digit_delay = 2500, + .rtcp_interval = 5000, .common = { .log_levels = { [log_level_index_internals] = -1, diff --git a/docs/rtpengine.md b/docs/rtpengine.md index 6c5c06879..94eb99d3f 100644 --- a/docs/rtpengine.md +++ b/docs/rtpengine.md @@ -1230,6 +1230,13 @@ call to inject-DTMF won't be sent to __\-\-dtmf-log-dest=__ or __\-\-listen-tcp- Enable measuring RTP metrics even for plain RTP passthrough scenarios. Without that option, RTP metrics are measured only in transcoding scenarios. +- __\-\-rtcp-interval=__*INT* + + Delay in milliseconds between RTCP packets when generate-rtcp flag is on. The + effective value includes the random dispersion between 0..1 seconds on top, + so the timer execution period is randomized and up to 1 sec greater than given + value in ms. Defaults to __5000__ ms (5 seconds). + - __\-\-socket-cpu-affinity=__*INT* Enables setting the socket CPU affinity via the __SO\*INCOMING\*CPU__ socket diff --git a/etc/rtpengine.conf b/etc/rtpengine.conf index e40702611..890903e83 100644 --- a/etc/rtpengine.conf +++ b/etc/rtpengine.conf @@ -137,6 +137,7 @@ recording-method = proc # mos = CQ # poller-per-thread = false # socket-cpu-affinity = -1 +# rtcp-interval = 5000 [rtpengine-testing] table = -1