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
f752c30d
Commit
f752c30d
authored
May 02, 2008
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit 'origin/nice-tester-2' into nice-kakaroto
parents
949754b1
feed9c21
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
1 deletion
+23
-1
address/address.c
address/address.c
+13
-0
address/address.h
address/address.h
+4
-0
gst/gstnicesrc.c
gst/gstnicesrc.c
+4
-0
nice/libnice.sym
nice/libnice.sym
+1
-0
stun/stun-ice.c
stun/stun-ice.c
+1
-1
No files found.
address/address.c
View file @
f752c30d
...
...
@@ -299,3 +299,16 @@ nice_address_is_private (const NiceAddress *a)
g_assert_not_reached
();
}
NICEAPI_EXPORT
gboolean
nice_address_is_valid
(
const
NiceAddress
*
a
)
{
switch
(
a
->
s
.
addr
.
sa_family
)
{
case
AF_INET
:
case
AF_INET6
:
return
TRUE
;
default:
return
FALSE
;
}
}
address/address.h
View file @
f752c30d
...
...
@@ -107,6 +107,10 @@ nice_address_to_string (const NiceAddress *addr, gchar *dst);
gboolean
nice_address_is_private
(
const
NiceAddress
*
a
);
G_GNUC_WARN_UNUSED_RESULT
gboolean
nice_address_is_valid
(
const
NiceAddress
*
a
);
G_END_DECLS
#endif
/* _ADDRESS_H */
...
...
gst/gstnicesrc.c
View file @
f752c30d
...
...
@@ -299,6 +299,10 @@ gst_nice_src_dispose (GObject *object)
g_object_unref
(
src
->
agent
);
src
->
agent
=
NULL
;
if
(
src
->
mainloop
)
g_main_loop_unref
(
src
->
mainloop
);
src
->
mainloop
=
NULL
;
GST_CALL_PARENT
(
G_OBJECT_CLASS
,
dispose
,
(
object
));
}
...
...
nice/libnice.sym
View file @
f752c30d
...
...
@@ -4,6 +4,7 @@ nice_address_equal
nice_address_free
nice_address_get_port
nice_address_is_private
nice_address_is_valid
nice_address_new
nice_address_set_from_sockaddr
nice_address_set_from_string
...
...
stun/stun-ice.c
View file @
f752c30d
...
...
@@ -100,7 +100,7 @@ stun_conncheck_reply (uint8_t *restrict buf, size_t *restrict plen,
return
EINVAL
;
}
if
(
!
stun_demux
(
msg
))
if
(
compat
!=
1
&&
!
stun_demux
(
msg
))
{
DBG
(
" Incorrectly multiplexed STUN message ignored.
\n
"
);
return
EINVAL
;
...
...
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