23 #include <ortp/str_utils.h>
27 typedef unsigned long OrtpEventType;
36 struct sockaddr_storage source_addr;
37 socklen_t source_addrlen;
42 bool_t dtls_stream_encrypted;
43 bool_t zrtp_stream_encrypted;
48 OrtpSocketType socket_type;
49 bool_t ice_processing_successful;
62 ORTP_PUBLIC
OrtpEvent * ortp_event_new(OrtpEventType tp);
63 ORTP_PUBLIC OrtpEventType ortp_event_get_type(
const OrtpEvent *ev);
65 #define ORTP_EVENT_STUN_PACKET_RECEIVED 1
66 #define ORTP_EVENT_PAYLOAD_TYPE_CHANGED 2
67 #define ORTP_EVENT_TELEPHONE_EVENT 3
68 #define ORTP_EVENT_RTCP_PACKET_RECEIVED 4
69 #define ORTP_EVENT_RTCP_PACKET_EMITTED 5
70 #define ORTP_EVENT_ZRTP_ENCRYPTION_CHANGED 6
71 #define ORTP_EVENT_ZRTP_SAS_READY 7
72 #define ORTP_EVENT_ICE_CHECK_LIST_PROCESSING_FINISHED 8
73 #define ORTP_EVENT_ICE_SESSION_PROCESSING_FINISHED 9
74 #define ORTP_EVENT_ICE_GATHERING_FINISHED 10
75 #define ORTP_EVENT_ICE_LOSING_PAIRS_COMPLETED 11
76 #define ORTP_EVENT_ICE_RESTART_NEEDED 12
77 #define ORTP_EVENT_DTLS_ENCRYPTION_CHANGED 13
78 #define ORTP_EVENT_TMMBR_RECEIVED 14
81 ORTP_PUBLIC
void ortp_event_destroy(
OrtpEvent *ev);
90 ORTP_PUBLIC
void ortp_ev_queue_destroy(
OrtpEvQueue *q);
92 ORTP_PUBLIC
void ortp_ev_queue_flush(
OrtpEvQueue * qp);
Definition: str_utils.h:49
Definition: str_utils.h:78