Browse Source

TT#14008 fix SRTP index not being updated from kernel

... when SSRC substitution is in use

Change-Id: If383aa9aeb46a2331855a5b34d52c0a427192c0c
(cherry picked from commit 408015141c)
mr10.3
Richard Fuchs 4 years ago
parent
commit
2e2d3a1ba2
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      daemon/call.c

+ 4
- 1
daemon/call.c View File

@ -655,7 +655,10 @@ void call_timer(void *ptr) {
for (unsigned int u = 0; u < G_N_ELEMENTS(ke->target.ssrc); u++) {
if (!ke->target.ssrc[u]) // end of list
break;
struct ssrc_ctx *ctx = __hunt_ssrc_ctx(ntohl(ke->target.ssrc[u]),
uint32_t out_ssrc = o->ssrc_out[u];
if (!out_ssrc)
out_ssrc = ke->target.ssrc[u];
struct ssrc_ctx *ctx = __hunt_ssrc_ctx(ntohl(out_ssrc),
sink->ssrc_out, 0);
if (!ctx)
continue;


Loading…
Cancel
Save