diff --git a/src/plugins/janus_videoroom.c b/src/plugins/janus_videoroom.c index d940ee2a34..d00b16293a 100644 --- a/src/plugins/janus_videoroom.c +++ b/src/plugins/janus_videoroom.c @@ -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"); }