Browse Source

keep track of "newest" timestamp

git.mgm/mediaproxy-ng/2.2
Richard Fuchs 13 years ago
parent
commit
495d4cf2bd
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      daemon/call.c

+ 5
- 0
daemon/call.c View File

@ -1978,6 +1978,11 @@ static void stats_query(struct call *call, str *fromtag, str *totag, struct call
p = &cs->peers[i];
px = &cs->peers[i ^ 1];
if (p->rtps[0].last > stats->newest)
stats->newest = p->rtps[0].last;
if (p->rtps[1].last > stats->newest)
stats->newest = p->rtps[1].last;
if (!fromtag->len)
goto tag_match;


Loading…
Cancel
Save