fix fix fix fix fix

This commit is contained in:
Quentin 2020-02-06 22:55:23 +01:00
parent d6a2195668
commit c9dadbdfa8

View file

@ -41,7 +41,7 @@ int create_rx_chain(struct dcall_elements* de) {
g_object_set(G_OBJECT (de->rx_jitterbuffer), "do-retransmission", FALSE, 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), "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", FALSE, NULL);
gst_util_set_object_arg(G_OBJECT(de->rx_jitterbuffer), "mode", "buffer"); gst_util_set_object_arg(G_OBJECT(de->rx_jitterbuffer), "mode", "slave");
g_object_set(G_OBJECT (de->rx_opusdec), "plc", TRUE, NULL); g_object_set(G_OBJECT (de->rx_opusdec), "plc", TRUE, NULL);
g_object_set(G_OBJECT (de->rx_opusdec), "use-inband-fec", FALSE, NULL); g_object_set(G_OBJECT (de->rx_opusdec), "use-inband-fec", FALSE, NULL);
@ -271,7 +271,7 @@ int main(int argc, char *argv[]) {
de.local_host, de.local_port, de.remote_host, de.remote_port, de.audio_tap, de.audio_sink, de.latency, de.audio_file); de.local_host, de.local_port, de.remote_host, de.remote_port, de.audio_tap, de.audio_sink, de.latency, de.audio_file);
setenv("GST_DEBUG_FILE", de.gstreamer_log_path, 0); setenv("GST_DEBUG_FILE", de.gstreamer_log_path, 0);
setenv("GST_DEBUG", "3,opusdec:5,rtpjitterbuffer:3", 0); setenv("GST_DEBUG", "3,opusdec:5", 0);
gst_init (&argc, &argv); gst_init (&argc, &argv);
de.loop = g_main_loop_new (NULL, FALSE); de.loop = g_main_loop_new (NULL, FALSE);