Commit 70981d41 authored by Philip Withnall's avatar Philip Withnall

simple-example: transmission can begin earlier than in ready state

Reviewed-by: Olivier Crête's avatarOlivier Crête <olivier.crete@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D819
parent 47eaf50a
......@@ -220,7 +220,7 @@ cb_component_state_changed(NiceAgent *agent, guint _stream_id,
g_debug("SIGNAL: state changed %d %d %s[%d]\n",
_stream_id, component_id, state_name[state], state);
if (state == NICE_COMPONENT_STATE_READY) {
if (state == NICE_COMPONENT_STATE_CONNECTED) {
NiceCandidate *local, *remote;
// Get current selected candidate pair and print IP address used
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment