129
129
static void cb_component_state_changed (NiceAgent *agent, guint stream_id, guint component_id, guint state, gpointer data)
131
132
g_debug ("test-dribble:%s: %p", G_STRFUNC, data);
134
138
global_lagent_state = state;
136
143
global_ragent_state = state;
138
146
if (state == NICE_COMPONENT_STATE_READY)
139
147
global_components_ready++;
140
150
if (state == NICE_COMPONENT_STATE_FAILED)
141
151
global_components_failed++;