Phone call
This commit is contained in:
parent
afd9192895
commit
282bc1d3a5
1 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,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", 180, NULL);
|
||||
g_object_set(G_OBJECT (de->rx_jitterbuffer), "latency", 150, NULL);
|
||||
g_object_set(G_OBJECT (de->rx_jitterbuffer), "drop-on-latency", FALSE, NULL);
|
||||
//g_object_set(G_OBJECT (de->rx_jitterbuffer), "post-drop-messages", TRUE, NULL);
|
||||
|
||||
|
@ -42,7 +42,7 @@ int create_rx_chain(struct dcall_elements* de) {
|
|||
g_object_set(G_OBJECT (de->rx_opusdec), "use-inband-fec", FALSE, NULL);
|
||||
|
||||
GstStructure *props;
|
||||
props = gst_structure_from_string ("props,want=echo-cancel", NULL);
|
||||
props = gst_structure_from_string ("props,media.role=phone", NULL);
|
||||
g_object_set (de->rx_sink, "stream-properties", props, NULL);
|
||||
gst_structure_free (props);
|
||||
|
||||
|
@ -76,7 +76,7 @@ int create_tx_chain(struct dcall_elements* de) {
|
|||
g_object_set(G_OBJECT(de->tx_sink), "port", 5000, NULL);
|
||||
g_object_set(G_OBJECT(de->tx_sink), "async", FALSE, NULL);
|
||||
|
||||
g_object_set(G_OBJECT(de->tx_echocancel), "echo-cancel", FALSE, NULL);
|
||||
g_object_set(G_OBJECT(de->tx_echocancel), "echo-cancel", TRUE, NULL);
|
||||
g_object_set(G_OBJECT(de->tx_echocancel), "extended-filter", TRUE, NULL);
|
||||
g_object_set(G_OBJECT(de->tx_echocancel), "gain-control", TRUE, NULL);
|
||||
g_object_set(G_OBJECT(de->tx_echocancel), "high-pass-filter", TRUE, NULL);
|
||||
|
@ -86,7 +86,7 @@ int create_tx_chain(struct dcall_elements* de) {
|
|||
g_object_set(G_OBJECT(de->tx_echocancel), "voice-detection", FALSE, NULL);
|
||||
|
||||
GstStructure *props;
|
||||
props = gst_structure_from_string ("props,filter.want=echo-cancel", NULL);
|
||||
props = gst_structure_from_string ("props,media.role=phone", NULL);
|
||||
g_object_set (de->tx_tap, "stream-properties", props, NULL);
|
||||
gst_structure_free (props);
|
||||
|
||||
|
|
Loading…
Reference in a new issue