diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2016-03-01 23:05:20 +0000 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2016-03-01 23:05:25 +0000 |
commit | 70981d41edf46a09393017f3de34748fcecea046 (patch) | |
tree | 8b875b00471a67b5d171544243e0d09bcf69113d /examples | |
parent | 47eaf50a99d91c4a666f05c4de24613706847c88 (diff) | |
download | libnice-70981d41edf46a09393017f3de34748fcecea046.tar.gz |
simple-example: transmission can begin earlier than in ready state
Reviewed-by: Olivier CrĂȘte <olivier.crete@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D819
Diffstat (limited to 'examples')
-rw-r--r-- | examples/simple-example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple-example.c b/examples/simple-example.c index 6ce171a..a511d29 100644 --- a/examples/simple-example.c +++ b/examples/simple-example.c @@ -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 |