1
0
mirror of http://www.pogo.org.uk/~mark/trx.git synced 2024-11-23 10:55:05 +01:00

Use the default logging level

This is a #define to bctoolbox which means we have to link ourselves
to that library. Whereas oRTP defines its own link. It turns out the
default logging level is appropriate, so use that.

This also removes one of the compatibility problems caused by
different versions of oRTP which had different definitions of this
function.
This commit is contained in:
Mark Hills 2020-11-28 11:02:16 +00:00
parent 69b6537303
commit 5c844e6996

1
tx.c
View File

@ -245,7 +245,6 @@ int main(int argc, char *argv[])
ortp_init(); ortp_init();
ortp_scheduler_init(); ortp_scheduler_init();
ortp_set_log_level_mask(NULL, ORTP_WARNING|ORTP_ERROR);
session = create_rtp_send(addr, port); session = create_rtp_send(addr, port);
assert(session != NULL); assert(session != NULL);