summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2014-04-16 19:03:19 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-05-17 00:22:36 -0400
commit31fb8f4475678d0564d65abe590d0fa311ce5fe8 (patch)
tree805b67f73cfdced6b36220692c0ecc1c300c7ffa /examples
parenta6954838932761e5fb802139f61bc17f4e068e85 (diff)
downloadlibnice-31fb8f4475678d0564d65abe590d0fa311ce5fe8.tar.gz
Add some informative debug messaging
Diffstat (limited to 'examples')
-rw-r--r--examples/sdp-example.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/sdp-example.c b/examples/sdp-example.c
index c6e9b7b..a1d12bc 100644
--- a/examples/sdp-example.c
+++ b/examples/sdp-example.c
@@ -166,8 +166,9 @@ example_thread(void *data)
goto end;
// Candidate gathering is done. Send our local candidates on stdout
- printf("Copy this line to remote client:\n");
sdp = nice_agent_generate_local_sdp (agent);
+ printf("Generated SDP from agent :\n%s\n\n", sdp);
+ printf("Copy the following line to remote client:\n");
sdp64 = g_base64_encode ((const guchar *)sdp, strlen (sdp));
printf("\n %s\n", sdp64);
g_free (sdp);