Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Andrew S
libnice
Commits
3fe60efd
Commit
3fe60efd
authored
Oct 09, 2014
by
Olivier Crête
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Version 0.1.8
parent
382f44be
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
47 additions
and
30 deletions
+47
-30
NEWS
NEWS
+17
-0
agent/address.h
agent/address.h
+1
-1
agent/agent.c
agent/agent.c
+10
-10
agent/agent.h
agent/agent.h
+1
-1
agent/pseudotcp.c
agent/pseudotcp.c
+2
-2
agent/pseudotcp.h
agent/pseudotcp.h
+11
-11
configure.ac
configure.ac
+5
-5
No files found.
NEWS
View file @
3fe60efd
libnice 0.1.8 (2014-10-09)
==========================
Added FIN-ACK behavior in the PseudoTCP
ICE-TCP, both standard mode and Microsoft compatible
Microsoft compatible TURN-TCP
API: nice_address_equal_no_port() to compare NiceAddresses ignoring the port
API: nice_agent_get_component_state() to get the current component state
API: agent:keepalive-conncheck to make the agent use conncheck as keepalives
and fail the connection if there is no answer
API: agent:ice-tcp, agent:udp-tcp to control ICE-UDP vs ICE-TCP behaviours
API: agent:bytestream-tcp to know if the send/receives in reliable mode create full packets or not
API: New signals agent::new-selected-pair-full, agent::new-candidate-full,
agent::new-remote-candidate-full which include the NiceCandidates directly
API: Deprecated agent::new-selected-pair and agent::new-candidate and
agent::new-remote-candidate signals
Now all signals are emitted at the function return time
libnice 0.1.7 (2014-05-05)
libnice 0.1.7 (2014-05-05)
==========================
==========================
Fix undesired API change that broke Farstream unit testsx
Fix undesired API change that broke Farstream unit testsx
...
...
agent/address.h
View file @
3fe60efd
...
@@ -253,7 +253,7 @@ nice_address_equal (const NiceAddress *a, const NiceAddress *b);
...
@@ -253,7 +253,7 @@ nice_address_equal (const NiceAddress *a, const NiceAddress *b);
* Returns: %TRUE if @a and @b are the same address, %FALSE if they
* Returns: %TRUE if @a and @b are the same address, %FALSE if they
* are different
* are different
*
*
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
gboolean
gboolean
nice_address_equal_no_port
(
const
NiceAddress
*
a
,
const
NiceAddress
*
b
);
nice_address_equal_no_port
(
const
NiceAddress
*
a
,
const
NiceAddress
*
b
);
...
...
agent/agent.c
View file @
3fe60efd
...
@@ -606,7 +606,7 @@ nice_agent_class_init (NiceAgentClass *klass)
...
@@ -606,7 +606,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* If #NiceAgent:ice-tcp is set to %FALSE, then this property cannot be set
* If #NiceAgent:ice-tcp is set to %FALSE, then this property cannot be set
* to %FALSE as well.
* to %FALSE as well.
*
*
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
g_object_class_install_property
(
gobject_class
,
PROP_ICE_UDP
,
g_object_class_install_property
(
gobject_class
,
PROP_ICE_UDP
,
g_param_spec_boolean
(
g_param_spec_boolean
(
...
@@ -639,7 +639,7 @@ nice_agent_class_init (NiceAgentClass *klass)
...
@@ -639,7 +639,7 @@ nice_agent_class_init (NiceAgentClass *klass)
</para>
</para>
* </note>
* </note>
*
*
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
g_object_class_install_property
(
gobject_class
,
PROP_ICE_TCP
,
g_object_class_install_property
(
gobject_class
,
PROP_ICE_TCP
,
g_param_spec_boolean
(
g_param_spec_boolean
(
...
@@ -672,7 +672,7 @@ nice_agent_class_init (NiceAgentClass *klass)
...
@@ -672,7 +672,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* bytestream mode will be supported.
* bytestream mode will be supported.
* </para>
* </para>
*
*
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
g_object_class_install_property
(
gobject_class
,
PROP_BYTESTREAM_TCP
,
g_object_class_install_property
(
gobject_class
,
PROP_BYTESTREAM_TCP
,
g_param_spec_boolean
(
g_param_spec_boolean
(
...
@@ -695,7 +695,7 @@ nice_agent_class_init (NiceAgentClass *klass)
...
@@ -695,7 +695,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* This is always enabled if the compatibility mode is
* This is always enabled if the compatibility mode is
* %NICE_COMPATIBILITY_GOOGLE.
* %NICE_COMPATIBILITY_GOOGLE.
*
*
* Since: 0.1.
7
* Since: 0.1.
8
*/
*/
g_object_class_install_property
(
gobject_class
,
PROP_KEEPALIVE_CONNCHECK
,
g_object_class_install_property
(
gobject_class
,
PROP_KEEPALIVE_CONNCHECK
,
g_param_spec_boolean
(
g_param_spec_boolean
(
...
@@ -766,7 +766,7 @@ nice_agent_class_init (NiceAgentClass *klass)
...
@@ -766,7 +766,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* the Foundation of a Candidate is not a unique identifier.
* the Foundation of a Candidate is not a unique identifier.
*
*
* See also: #NiceAgent::new-selected-pair-full
* See also: #NiceAgent::new-selected-pair-full
* Deprecated:
UNRELEASED
: Use #NiceAgent::new-selected-pair-full
* Deprecated:
0.1.8
: Use #NiceAgent::new-selected-pair-full
*/
*/
signals
[
SIGNAL_NEW_SELECTED_PAIR
]
=
signals
[
SIGNAL_NEW_SELECTED_PAIR
]
=
g_signal_new
(
g_signal_new
(
...
@@ -795,7 +795,7 @@ nice_agent_class_init (NiceAgentClass *klass)
...
@@ -795,7 +795,7 @@ nice_agent_class_init (NiceAgentClass *klass)
*
*
* See also: #NiceAgent::candidate-gathering-done,
* See also: #NiceAgent::candidate-gathering-done,
* #NiceAgent::new-candidate-full
* #NiceAgent::new-candidate-full
* Deprecated:
UNRELEASED
: Use #NiceAgent::new-candidate-full
* Deprecated:
0.1.8
: Use #NiceAgent::new-candidate-full
*/
*/
signals
[
SIGNAL_NEW_CANDIDATE
]
=
signals
[
SIGNAL_NEW_CANDIDATE
]
=
g_signal_new
(
g_signal_new
(
...
@@ -825,7 +825,7 @@ nice_agent_class_init (NiceAgentClass *klass)
...
@@ -825,7 +825,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* candidate.
* candidate.
*
*
* See also: #NiceAgent::new-remote-candidate-full
* See also: #NiceAgent::new-remote-candidate-full
* Deprecated:
UNRELEASED
: Use #NiceAgent::new-remote-candidate-full
* Deprecated:
0.1.8
: Use #NiceAgent::new-remote-candidate-full
*/
*/
signals
[
SIGNAL_NEW_REMOTE_CANDIDATE
]
=
signals
[
SIGNAL_NEW_REMOTE_CANDIDATE
]
=
g_signal_new
(
g_signal_new
(
...
@@ -930,7 +930,7 @@ nice_agent_class_init (NiceAgentClass *klass)
...
@@ -930,7 +930,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* #NiceAgent::new-selected-pair.
* #NiceAgent::new-selected-pair.
*
*
* See also: #NiceAgent::new-selected-pair
* See also: #NiceAgent::new-selected-pair
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
signals
[
SIGNAL_NEW_SELECTED_PAIR_FULL
]
=
signals
[
SIGNAL_NEW_SELECTED_PAIR_FULL
]
=
g_signal_new
(
g_signal_new
(
...
@@ -956,7 +956,7 @@ nice_agent_class_init (NiceAgentClass *klass)
...
@@ -956,7 +956,7 @@ nice_agent_class_init (NiceAgentClass *klass)
*
*
* See also: #NiceAgent::candidate-gathering-done,
* See also: #NiceAgent::candidate-gathering-done,
* #NiceAgent::new-candidate
* #NiceAgent::new-candidate
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
signals
[
SIGNAL_NEW_CANDIDATE_FULL
]
=
signals
[
SIGNAL_NEW_CANDIDATE_FULL
]
=
g_signal_new
(
g_signal_new
(
...
@@ -983,7 +983,7 @@ nice_agent_class_init (NiceAgentClass *klass)
...
@@ -983,7 +983,7 @@ nice_agent_class_init (NiceAgentClass *klass)
* also emitted with the candidate's foundation.
* also emitted with the candidate's foundation.
*
*
* See also: #NiceAgent::new-remote-candidate
* See also: #NiceAgent::new-remote-candidate
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
signals
[
SIGNAL_NEW_REMOTE_CANDIDATE_FULL
]
=
signals
[
SIGNAL_NEW_REMOTE_CANDIDATE_FULL
]
=
g_signal_new
(
g_signal_new
(
...
...
agent/agent.h
View file @
3fe60efd
...
@@ -1498,7 +1498,7 @@ nice_agent_forget_relays (NiceAgent *agent,
...
@@ -1498,7 +1498,7 @@ nice_agent_forget_relays (NiceAgent *agent,
* Returns: the #NiceComponentState of the component and
* Returns: the #NiceComponentState of the component and
* %NICE_COMPONENT_STATE_FAILED if the component was invalid.
* %NICE_COMPONENT_STATE_FAILED if the component was invalid.
*
*
* Since: 0.1.
7
* Since: 0.1.
8
*/
*/
NiceComponentState
NiceComponentState
nice_agent_get_component_state
(
NiceAgent
*
agent
,
nice_agent_get_component_state
(
NiceAgent
*
agent
,
...
...
agent/pseudotcp.c
View file @
3fe60efd
...
@@ -445,7 +445,7 @@ typedef struct {
...
@@ -445,7 +445,7 @@ typedef struct {
*
*
* Reasons for calling closedown().
* Reasons for calling closedown().
*
*
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
typedef
enum
{
typedef
enum
{
CLOSEDOWN_LOCAL
,
CLOSEDOWN_LOCAL
,
...
@@ -658,7 +658,7 @@ pseudo_tcp_socket_class_init (PseudoTcpSocketClass *cls)
...
@@ -658,7 +658,7 @@ pseudo_tcp_socket_class_init (PseudoTcpSocketClass *cls)
*
*
* Support is enabled by default.
* Support is enabled by default.
*
*
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
g_object_class_install_property
(
object_class
,
PROP_SUPPORT_FIN_ACK
,
g_object_class_install_property
(
object_class
,
PROP_SUPPORT_FIN_ACK
,
g_param_spec_boolean
(
"support-fin-ack"
,
"Support FIN–ACK"
,
g_param_spec_boolean
(
"support-fin-ack"
,
"Support FIN–ACK"
,
...
...
agent/pseudotcp.h
View file @
3fe60efd
...
@@ -140,17 +140,17 @@ typedef enum {
...
@@ -140,17 +140,17 @@ typedef enum {
* @TCP_ESTABLISHED: The socket is connected
* @TCP_ESTABLISHED: The socket is connected
* @TCP_CLOSED: The socket has been closed
* @TCP_CLOSED: The socket has been closed
* @TCP_FIN_WAIT_1: The socket has been closed locally but not remotely
* @TCP_FIN_WAIT_1: The socket has been closed locally but not remotely
* (Since:
UNRELEASED
)
* (Since:
0.1.8
)
* @TCP_FIN_WAIT_2: The socket has been closed locally but not remotely
* @TCP_FIN_WAIT_2: The socket has been closed locally but not remotely
* (Since:
UNRELEASED
)
* (Since:
0.1.8
)
* @TCP_CLOSING: The socket has been closed locally and remotely
* @TCP_CLOSING: The socket has been closed locally and remotely
* (Since:
UNRELEASED
)
* (Since:
0.1.8
)
* @TCP_TIME_WAIT: The socket has been closed locally and remotely
* @TCP_TIME_WAIT: The socket has been closed locally and remotely
* (Since:
UNRELEASED
)
* (Since:
0.1.8
)
* @TCP_CLOSE_WAIT: The socket has been closed remotely but not locally
* @TCP_CLOSE_WAIT: The socket has been closed remotely but not locally
* (Since:
UNRELEASED
)
* (Since:
0.1.8
)
* @TCP_LAST_ACK: The socket has been closed locally and remotely
* @TCP_LAST_ACK: The socket has been closed locally and remotely
* (Since:
UNRELEASED
)
* (Since:
0.1.8
)
*
*
* An enum representing the state of the #PseudoTcpSocket. These states
* An enum representing the state of the #PseudoTcpSocket. These states
* correspond to the TCP states in RFC 793.
* correspond to the TCP states in RFC 793.
...
@@ -201,7 +201,7 @@ typedef enum {
...
@@ -201,7 +201,7 @@ typedef enum {
* pseudo_tcp_socket_shutdown(). These correspond to the values passed to POSIX
* pseudo_tcp_socket_shutdown(). These correspond to the values passed to POSIX
* shutdown().
* shutdown().
*
*
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
typedef
enum
{
typedef
enum
{
PSEUDO_TCP_SHUTDOWN_RD
,
PSEUDO_TCP_SHUTDOWN_RD
,
...
@@ -375,7 +375,7 @@ void pseudo_tcp_socket_close(PseudoTcpSocket *self, gboolean force);
...
@@ -375,7 +375,7 @@ void pseudo_tcp_socket_close(PseudoTcpSocket *self, gboolean force);
* This is equivalent to the POSIX shutdown() function. Setting @how to
* This is equivalent to the POSIX shutdown() function. Setting @how to
* %PSEUDO_TCP_SHUTDOWN_RDWR is equivalent to calling pseudo_tcp_socket_close().
* %PSEUDO_TCP_SHUTDOWN_RDWR is equivalent to calling pseudo_tcp_socket_close().
*
*
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
void
pseudo_tcp_socket_shutdown
(
PseudoTcpSocket
*
self
,
PseudoTcpShutdown
how
);
void
pseudo_tcp_socket_shutdown
(
PseudoTcpSocket
*
self
,
PseudoTcpShutdown
how
);
...
@@ -552,7 +552,7 @@ gsize pseudo_tcp_socket_get_available_send_space (PseudoTcpSocket *self);
...
@@ -552,7 +552,7 @@ gsize pseudo_tcp_socket_get_available_send_space (PseudoTcpSocket *self);
* This function is intended for testing only, and should not be used in
* This function is intended for testing only, and should not be used in
* production code.
* production code.
*
*
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
void
pseudo_tcp_socket_set_time
(
PseudoTcpSocket
*
self
,
guint32
current_time
);
void
pseudo_tcp_socket_set_time
(
PseudoTcpSocket
*
self
,
guint32
current_time
);
...
@@ -564,7 +564,7 @@ void pseudo_tcp_socket_set_time (PseudoTcpSocket *self, guint32 current_time);
...
@@ -564,7 +564,7 @@ void pseudo_tcp_socket_set_time (PseudoTcpSocket *self, guint32 current_time);
* and both peers no longer able to read or write data to the connection.
* and both peers no longer able to read or write data to the connection.
*
*
* Returns: %TRUE if the socket is closed in both directions, %FALSE otherwise
* Returns: %TRUE if the socket is closed in both directions, %FALSE otherwise
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
gboolean
pseudo_tcp_socket_is_closed
(
PseudoTcpSocket
*
self
);
gboolean
pseudo_tcp_socket_is_closed
(
PseudoTcpSocket
*
self
);
...
@@ -580,7 +580,7 @@ gboolean pseudo_tcp_socket_is_closed (PseudoTcpSocket *self);
...
@@ -580,7 +580,7 @@ gboolean pseudo_tcp_socket_is_closed (PseudoTcpSocket *self);
*
*
* Returns: %TRUE if the remote peer has closed its side of the connection,
* Returns: %TRUE if the remote peer has closed its side of the connection,
* %FALSE otherwise
* %FALSE otherwise
* Since:
UNRELEASED
* Since:
0.1.8
*/
*/
gboolean
pseudo_tcp_socket_is_closed_remotely
(
PseudoTcpSocket
*
self
);
gboolean
pseudo_tcp_socket_is_closed_remotely
(
PseudoTcpSocket
*
self
);
...
...
configure.ac
View file @
3fe60efd
...
@@ -5,8 +5,8 @@ dnl Always compile with -Wall; if --enable-compile-warnings=error is passed,
...
@@ -5,8 +5,8 @@ dnl Always compile with -Wall; if --enable-compile-warnings=error is passed,
dnl also use -Werror. git and pre-releases default to -Werror
dnl also use -Werror. git and pre-releases default to -Werror
dnl use a three digit version number for releases, and four for cvs/prerelease
dnl use a three digit version number for releases, and four for cvs/prerelease
AC_INIT([libnice],[0.1.
7.1
])
AC_INIT([libnice],[0.1.
8
])
LIBNICE_RELEASE="
no
"
LIBNICE_RELEASE="
yes
"
AC_CANONICAL_TARGET
AC_CANONICAL_TARGET
...
@@ -39,9 +39,9 @@ AC_CONFIG_FILES([
...
@@ -39,9 +39,9 @@ AC_CONFIG_FILES([
# Increment CURRENT and AGE. Set REVISION to 0
# Increment CURRENT and AGE. Set REVISION to 0
# If there was an incompatible interface change:
# If there was an incompatible interface change:
# Increment CURRENT. Set AGE and REVISION to 0
# Increment CURRENT. Set AGE and REVISION to 0
LIBNICE_CURRENT=1
4
LIBNICE_CURRENT=1
5
LIBNICE_REVISION=
1
LIBNICE_REVISION=
0
LIBNICE_AGE=
4
LIBNICE_AGE=
5
LIBNICE_LIBVERSION=${LIBNICE_CURRENT}:${LIBNICE_REVISION}:${LIBNICE_AGE}
LIBNICE_LIBVERSION=${LIBNICE_CURRENT}:${LIBNICE_REVISION}:${LIBNICE_AGE}
LIBNICE_LT_LDFLAGS="-version-info ${LIBNICE_LIBVERSION} -no-undefined"
LIBNICE_LT_LDFLAGS="-version-info ${LIBNICE_LIBVERSION} -no-undefined"
AC_SUBST(LIBNICE_LT_LDFLAGS)
AC_SUBST(LIBNICE_LT_LDFLAGS)
...
...
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