fix fix fix fix fix
This commit is contained in:
parent
d6a2195668
commit
c9dadbdfa8
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue