mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
rtp: properly initialize rate hook
This commit is contained in:
parent
f02588f914
commit
3ca1ae89b8
1 changed files with 2 additions and 0 deletions
|
@ -380,6 +380,8 @@ int rtp_start(struct node *n)
|
|||
if (!r->rtcp.throttle_hook)
|
||||
return -1;
|
||||
|
||||
r->rtcp.throttle_hook->state = STATE_DESTROYED;
|
||||
|
||||
switch (r->rtcp.throttle_mode) {
|
||||
case RTCP_THROTTLE_HOOK_DECIMATE:
|
||||
throttle_hook_type = hook_type_lookup("decimate");
|
||||
|
|
Loading…
Add table
Reference in a new issue