Add support for dual-'?' params in RIST push outputs, fix a small memory leak in RIST output

This commit is contained in:
Thulinma 2022-09-22 16:12:24 +02:00
parent 2d4a2f5835
commit 696e04d6a0
3 changed files with 19 additions and 9 deletions

View file

@ -48,6 +48,7 @@ int cb_stats(void *arg, const struct rist_stats *stats_container){
pktReceived += sObj["received"].asInt();
pktLost += sObj["lost"].asInt();
pktRetransmitted += sObj["retries"].asInt();
rist_stats_free(stats_container);
return 0;
}