Hd-rum-translator: use recompress by default

When dynamically adding new port use transcoding one instead of packet
reflector.
This commit is contained in:
Martin Pulec
2014-12-04 12:41:34 +01:00
parent 811af5881f
commit 04485f0a4e

View File

@@ -301,7 +301,7 @@ static void *writer(void *arg)
char *compress = strtok_r(NULL, " ", &save_ptr);
replica_init(rep, host, tx_port, 100*1000, &s->mod);
rep->type = replica::type_t::USE_SOCK;
rep->type = replica::type_t::RECOMPRESS;
char *fec = NULL;
rep->recompress = recompress_init(&rep->mod,
host, compress,