From 1647471a497e42075de95506cd599199be0d845e Mon Sep 17 00:00:00 2001 From: Clemence Him Date: Fri, 6 May 2022 14:16:24 +0200 Subject: [PATCH] Add a ortp goclear event --- include/ortp/event.h | 50 ++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/include/ortp/event.h b/include/ortp/event.h index 9b5ea63e..098893a2 100644 --- a/include/ortp/event.h +++ b/include/ortp/event.h @@ -74,29 +74,33 @@ extern "C"{ ORTP_PUBLIC OrtpEvent * ortp_event_new(OrtpEventType tp); ORTP_PUBLIC OrtpEventType ortp_event_get_type(const OrtpEvent *ev); /* type is one of the following*/ -#define ORTP_EVENT_STUN_PACKET_RECEIVED 1 -#define ORTP_EVENT_PAYLOAD_TYPE_CHANGED 2 -#define ORTP_EVENT_TELEPHONE_EVENT 3 -#define ORTP_EVENT_RTCP_PACKET_RECEIVED 4 /**