Revision 1d31e31f dtls.c

View differences:

dtls.c
87 87

  
88 88
/* Helper to notify DTLS state changes to the event handlers */
89 89
static void janus_dtls_notify_state_change(janus_dtls_srtp *dtls) {
90
	if(janus_events_is_enabled())
91
		return;
90 92
	if(dtls == NULL)
91 93
		return;
92 94
	janus_ice_component *component = (janus_ice_component *)dtls->component;

Also available in: Unified diff