35 void janus_ice_init(gboolean ice_lite, gboolean ice_tcp, gboolean ipv6, uint16_t rtp_min_port, uint16_t rtp_max_port);
50 int janus_ice_set_turn_server(gchar *turn_server, uint16_t turn_port, gchar *turn_type, gchar *turn_user, gchar *turn_pwd);
135 #define JANUS_ICE_HANDLE_WEBRTC_PROCESSING_OFFER (1 << 0)
136 #define JANUS_ICE_HANDLE_WEBRTC_START (1 << 1)
137 #define JANUS_ICE_HANDLE_WEBRTC_READY (1 << 2)
138 #define JANUS_ICE_HANDLE_WEBRTC_STOP (1 << 3)
139 #define JANUS_ICE_HANDLE_WEBRTC_ALERT (1 << 4)
140 #define JANUS_ICE_HANDLE_WEBRTC_BUNDLE (1 << 5)
141 #define JANUS_ICE_HANDLE_WEBRTC_RTCPMUX (1 << 6)
142 #define JANUS_ICE_HANDLE_WEBRTC_TRICKLE (1 << 7)
143 #define JANUS_ICE_HANDLE_WEBRTC_ALL_TRICKLES (1 << 8)
144 #define JANUS_ICE_HANDLE_WEBRTC_TRICKLE_SYNCED (1 << 9)
145 #define JANUS_ICE_HANDLE_WEBRTC_DATA_CHANNELS (1 << 10)
146 #define JANUS_ICE_HANDLE_WEBRTC_PLAN_B (1 << 11)
147 #define JANUS_ICE_HANDLE_WEBRTC_CLEANING (1 << 12)
148 #define JANUS_ICE_HANDLE_WEBRTC_HAS_AUDIO (1 << 13)
149 #define JANUS_ICE_HANDLE_WEBRTC_HAS_VIDEO (1 << 14)
314 #define LAST_SEQS_MAX_LEN 160
369 #define JANUS_ICE_PACKET_AUDIO 0
370 #define JANUS_ICE_PACKET_VIDEO 1
371 #define JANUS_ICE_PACKET_DATA 2
452 #ifndef HAVE_LIBNICE_TCP
455 void janus_ice_cb_new_selected_pair (NiceAgent *agent, guint stream_id, guint component_id, NiceCandidate *local, NiceCandidate *remote, gpointer ice);
464 void janus_ice_cb_nice_recv (NiceAgent *agent, guint stream_id, guint component_id, guint len, gchar *buf, gpointer ice);