Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
31fb8f44
Commit
31fb8f44
authored
Apr 16, 2014
by
Youness Alaoui
Committed by
Olivier Crête
May 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some informative debug messaging
parent
a6954838
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
agent/conncheck.c
agent/conncheck.c
+1
-1
examples/sdp-example.c
examples/sdp-example.c
+2
-1
No files found.
agent/conncheck.c
View file @
31fb8f44
...
...
@@ -3019,7 +3019,7 @@ gboolean conn_check_handle_inbound_stun (NiceAgent *agent, Stream *stream,
return
TRUE
;
}
if
(
valid
==
STUN_VALIDATION_UNAUTHORIZED_BAD_REQUEST
)
{
nice_debug
(
"Agent %p : Integrity check failed."
,
agent
);
nice_debug
(
"Agent %p : Integrity check failed
- bad request
."
,
agent
);
if
(
stun_agent_init_error
(
&
agent
->
stun_agent
,
&
msg
,
rbuf
,
rbuf_len
,
&
req
,
STUN_ERROR_BAD_REQUEST
))
{
rbuf_len
=
stun_agent_finish_message
(
&
agent
->
stun_agent
,
&
msg
,
NULL
,
0
);
...
...
examples/sdp-example.c
View file @
31fb8f44
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment