Fix order bug
This commit is contained in:
parent
dcf24faf90
commit
afd9192895
1 changed files with 2 additions and 2 deletions
|
@ -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,filter.want=echo-cancel", NULL);
|
||||
props = gst_structure_from_string ("props,want=echo-cancel", NULL);
|
||||
g_object_set (de->rx_sink, "stream-properties", props, NULL);
|
||||
gst_structure_free (props);
|
||||
|
||||
|
@ -91,7 +91,7 @@ int create_tx_chain(struct dcall_elements* de) {
|
|||
gst_structure_free (props);
|
||||
|
||||
gst_bin_add_many(GST_BIN(de->pipeline), de->tx_tap, de->tx_echocancel, de->tx_queue, de->tx_resample, de->tx_opusenc, de->tx_pay, de->tx_sink, NULL);
|
||||
gst_element_link_many(de->tx_resample, de->tx_tap, de->tx_echocancel, de->tx_queue, de->tx_opusenc, de->tx_pay, de->tx_sink, NULL);
|
||||
gst_element_link_many( de->tx_tap, de->tx_resample, de->tx_echocancel, de->tx_queue, de->tx_opusenc, de->tx_pay, de->tx_sink, NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue