diff --git a/src/hd-rum-translator/hd-rum-translator.cpp b/src/hd-rum-translator/hd-rum-translator.cpp index 47ea651c3..48fa93927 100644 --- a/src/hd-rum-translator/hd-rum-translator.cpp +++ b/src/hd-rum-translator/hd-rum-translator.cpp @@ -585,7 +585,7 @@ struct host_opts { int rx_port; int tx_port; int mtu; - char *compression; + const char *compression; char *fec; long long int bitrate; int force_ip_version; @@ -1102,7 +1102,11 @@ int main(int argc, char **argv) tx_port = params.hosts[i].tx_port; } - const auto& h = params.hosts[i]; + auto& h = params.hosts[i]; + + if(!h.compression && params.out_conf.mode == CONFERENCE){ + h.compression = params.conference_compression; + } int idx = create_output_port(&state, h.addr, rx_port, tx_port, state.bufsize, h.force_ip_version,