Hi Joshua,
Could you confirm if the 5 second period for learning a new audio stream is
a minimum or a maximum? The unusual call flow in question results in
Asterisk learning a new audio stream when we don't want it to, and having a
minimum of say 2 seconds of audio would help avoid this.
Thank yo
It's probably best if you read the logic[1]. There's an entire comment that
talks about how it works.
[1]
https://github.com/asterisk/asterisk/blob/20/res/res_rtp_asterisk.c#L8158
On Mon, Apr 17, 2023 at 7:10 PM David Cunningham
wrote:
> Hi Joshua,
>
> Could you confirm if the 5 second period f
Hi Joshua,
Thank you for that. From the code it kind of looks like
STRICT_RTP_LEARN_TIMEOUT is a minimum, not a maximum:
if (!ast_sockaddr_isnull(&rtp->strict_rtp_address)
&& STRICT_RTP_LEARN_TIMEOUT < ast_tvdiff_ms(ast_tvnow(),
rtp->rtp_source_learn.start)) {
ast_verb(4, "%p -- Strict RTP learni