projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47eaf50
)
simple-example: transmission can begin earlier than in ready state
author
Philip Withnall
<philip@tecnocode.co.uk>
Tue, 1 Mar 2016 23:05:20 +0000
(23:05 +0000)
committer
Philip Withnall
<philip@tecnocode.co.uk>
Tue, 1 Mar 2016 23:05:25 +0000
(23:05 +0000)
Reviewed-by: Olivier CrĂȘte <olivier.crete@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D819
examples/simple-example.c
patch
|
blob
|
history
diff --git
a/examples/simple-example.c
b/examples/simple-example.c
index
6ce171a
..
a511d29
100644
(file)
--- 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