diff --git a/src/core.h b/src/core.h index ab2de699ca..a9d5aacac7 100644 --- a/src/core.h +++ b/src/core.h @@ -110,7 +110,6 @@ struct audio; int audio_send_digit(struct audio *a, char key); void audio_sdp_attr_decode(struct audio *a); -int audio_print_rtpstat(struct re_printf *pf, const struct audio *au); /* diff --git a/src/rtpstat.c b/src/rtpstat.c index a8cfc628bc..a67814d177 100644 --- a/src/rtpstat.c +++ b/src/rtpstat.c @@ -51,8 +51,8 @@ int rtpstat_print(struct re_printf *pf, const struct call *call) "JI=%.1f,%.1f;" /* Jitter RX, TX in timestamp units */ "IP=%J,%J" /* Local, Remote IPs */ , - call_setup_duration(s->call) * 1000, - call_duration(s->call), + call_setup_duration(call) * 1000, + call_duration(call), s->metric_rx.n_packets, s->metric_tx.n_packets,