[farsight2/master] Add more debugs in the stun process
Olivier Crête
olivier.crete at collabora.co.uk
Tue Jan 6 14:48:38 PST 2009
---
transmitters/rawudp/fs-rawudp-component.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/transmitters/rawudp/fs-rawudp-component.c b/transmitters/rawudp/fs-rawudp-component.c
index 9abeecd..d2981ab 100644
--- a/transmitters/rawudp/fs-rawudp-component.c
+++ b/transmitters/rawudp/fs-rawudp-component.c
@@ -1261,6 +1261,9 @@ fs_rawudp_component_start_stun (FsRawUdpComponent *self, GError **error)
{
gboolean res = TRUE;
+ GST_DEBUG ("C:%d starting the STUN process with server %s:%u",
+ self->priv->component, self->priv->stun_ip, self->priv->stun_port);
+
FS_RAWUDP_COMPONENT_LOCK (self);
self->priv->stun_recv_id =
fs_rawudp_transmitter_udpport_connect_recv (
@@ -1470,7 +1473,10 @@ stun_timeout_func (gpointer user_data)
error:
if (self->priv->stun_stop)
+ {
+ GST_DEBUG ("C:%u STUN process interrupted", self->priv->component);
emit = FALSE;
+ }
fs_rawudp_component_stop_stun_locked (self);
--
1.5.6.5
More information about the farsight-commits
mailing list