diff --git a/daemon/call_interfaces.c b/daemon/call_interfaces.c index 2e2ffce32..83e7de1f9 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -1850,11 +1850,11 @@ static void ng_stats_ssrc(bencode_item_t *dict, struct ssrc_hash *ht) { snprintf(tmp, 12, "%" PRIu32, se->h.ssrc); if (bencode_dictionary_get(dict, tmp)) continue; - bencode_item_t *ent = bencode_dictionary_add_dictionary(dict, tmp); - if (!se->stats_blocks.length || !se->lowest_mos || !se->highest_mos) continue; + bencode_item_t *ent = bencode_dictionary_add_dictionary(dict, tmp); + bencode_dictionary_add_integer(ent, "cumulative loss", se->packets_lost); int mos_samples = se->stats_blocks.length - se->no_mos_count;