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:
parent
6d486bcee8
commit
ec765ec9ee
1 changed files with 3 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue