From 8d23941c9a77b09829b7f6e5e3d2d55aee899a6e Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 4 Feb 2020 19:53:16 +0100 Subject: [PATCH] try to drop on latency --- src/dcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dcall.c b/src/dcall.c index e4ef028..9e0b1b8 100644 --- a/src/dcall.c +++ b/src/dcall.c @@ -40,7 +40,7 @@ int create_rx_chain(struct dcall_elements* de) { g_object_set(G_OBJECT (de->rx_jitterbuffer), "do-lost", TRUE, NULL); g_object_set(G_OBJECT (de->rx_jitterbuffer), "do-retransmission", FALSE, NULL); g_object_set(G_OBJECT (de->rx_jitterbuffer), "latency", de->latency, NULL); - g_object_set(G_OBJECT (de->rx_jitterbuffer), "drop-on-latency", FALSE, NULL); + g_object_set(G_OBJECT (de->rx_jitterbuffer), "drop-on-latency", TRUE, NULL); g_object_set(G_OBJECT (de->rx_jitterbuffer), "mode", "slave", NULL); g_object_set(G_OBJECT (de->rx_opusdec), "plc", TRUE, NULL);