From 5c844e69960a11cf08f5994768559ff49d4485a2 Mon Sep 17 00:00:00 2001 From: Mark Hills Date: Sat, 28 Nov 2020 11:02:16 +0000 Subject: [PATCH] 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. --- tx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tx.c b/tx.c index 7be62b7..617a64c 100644 --- a/tx.c +++ b/tx.c @@ -245,7 +245,6 @@ int main(int argc, char *argv[]) ortp_init(); ortp_scheduler_init(); - ortp_set_log_level_mask(NULL, ORTP_WARNING|ORTP_ERROR); session = create_rtp_send(addr, port); assert(session != NULL);