libnice 接收数据&callback给janus
- socket_source_attach(
-
- g_source_set_callback (source, (GSourceFunc) G_CALLBACK (component_io_cb),
-
- socket_source, NULL);)
-
- component_io_cb
-
- agent_recv_message_unlocked
-
- --nice_socket_recv_messages
-
- ---sock->recv_messages (sock, recv_messages, n_recv_messages);
,,,,,,,,,,,,,,,,
Janus: ice.c
#ifdef HAVE_PORTRANGE //开启宏