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: add option to configure initial rate

This commit is contained in:
Steffen Vogel 2019-01-28 12:31:40 +01:00
parent 6d486bcee8
commit ec765ec9ee

View file

@ -163,9 +163,10 @@ 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 }",
ret = json_unpack_ex(json_rtcp, &err, 0, "{ s?: F, s?: F, s?: F }",
"a", &r->aimd.a,
"b", &r->aimd.b
"b", &r->aimd.b,
"start_rate", &r->aimd.last_rate
);
if (ret)
jerror(&err, "Failed to parse configuration of node %s", node_name(n));