cf: redraw screen while rtp streams are active

This commit is contained in:
Kaian 2019-01-04 20:03:50 +01:00
parent 3cf1d01237
commit 4536195f74
1 changed files with 8 additions and 0 deletions

View File

@ -134,6 +134,14 @@ call_group_changed(CallGroup *group)
call_group_add_calls(group, call->xcalls);
}
}
// Check if any of the call streams is still active
for (guint j = 0; j < g_ptr_array_len(call->streams); j++) {
RtpStream *stream = g_ptr_array_index(call->streams, j);
if (stream_is_active(stream)) {
changed = TRUE;
}
}
}
// Return if any of the calls have changed