From 4536195f74d13c7beec96d29b0e290a44fe84bc2 Mon Sep 17 00:00:00 2001 From: Kaian Date: Fri, 4 Jan 2019 20:03:50 +0100 Subject: [PATCH] cf: redraw screen while rtp streams are active --- src/group.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/group.c b/src/group.c index 12ec3ee..3609a17 100644 --- a/src/group.c +++ b/src/group.c @@ -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