1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

rtp: fix parsing of AIMD options

This commit is contained in:
Steffen Vogel 2019-02-17 21:17:31 +01:00
parent 05568f8b56
commit ab68ff40d3

View file

@ -172,7 +172,7 @@ int rtp_parse(struct node *n, json_t *cfg)
/* AIMD */
if (json_aimd) {
ret = json_unpack_ex(json_rtcp, &err, 0, "{ s?: F, s?: F, s?: F }",
ret = json_unpack_ex(json_aimd, &err, 0, "{ s?: F, s?: F, s?: F }",
"a", &r->aimd.a,
"b", &r->aimd.b,
"start_rate", &r->aimd.last_rate