From 4b420537c867b4980c2eada5175986ed4d67f862 Mon Sep 17 00:00:00 2001 From: Fabrice Bellet Date: Sun, 24 Jan 2016 09:41:48 +0100 Subject: [PATCH] call-stream: fix missing network proto This fixes a bug where FS_NETWORK_PROTOCOL_TCP_ACTIVE protocol is unrecognized, and falls back to an UDP one, causing the addition of more UDP candidates than strictly needed. --- telepathy-farstream/call-stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/telepathy-farstream/call-stream.c b/telepathy-farstream/call-stream.c index bbec0c9..3e1bb67 100644 --- a/telepathy-farstream/call-stream.c +++ b/telepathy-farstream/call-stream.c @@ -1418,6 +1418,7 @@ fs_network_proto_to_tp (FsNetworkProtocol proto) case FS_NETWORK_PROTOCOL_UDP: return TP_MEDIA_STREAM_BASE_PROTO_UDP; case FS_NETWORK_PROTOCOL_TCP: + case FS_NETWORK_PROTOCOL_TCP_ACTIVE: return TP_MEDIA_STREAM_BASE_PROTO_TCP; default: g_warning ("Invalid protocl, assigning to UDP"); -- 2.5.0