Skip to content

Commit

Permalink
Added missing refcount decrease for subscriber (#3493)
Browse files Browse the repository at this point in the history
  • Loading branch information
m08pvv authored Dec 18, 2024
1 parent 4419baf commit 4fc066f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/janus_videoroom.c
Original file line number Diff line number Diff line change
Expand Up @@ -9159,6 +9159,7 @@ void janus_videoroom_slow_link(janus_plugin_session *handle, int mindex, gboolea
json_object_set_new(event, "videoroom", json_string("slow_link"));
gateway->push_event(session->handle, &janus_videoroom_plugin, NULL, event, NULL);
json_decref(event);
janus_refcount_decrease(&subscriber->ref);
} else {
JANUS_LOG(LOG_WARN, "Got a slow downlink on a VideoRoom viewer? Weird, because it doesn't send media...\n");
}
Expand Down

0 comments on commit 4fc066f

Please sign in to comment.