summaryrefslogtreecommitdiff
path: root/farstream
diff options
context:
space:
mode:
authorJakub Adam <jakub.adam@ktknet.cz>2014-04-22 14:26:49 +0200
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-10-09 17:57:33 -0400
commit3cd69d66c849df4541cf0974c8429623dc103cbb (patch)
tree957aab1472c1ec9c90d443309fcb82ff51c742cd /farstream
parent2cb3e163f153434b6e386d1fe80efcc6e70eb738 (diff)
downloadfarstream-3cd69d66c849df4541cf0974c8429623dc103cbb.tar.gz
Add ICE-TCP candidates
Also to the nice transmitter
Diffstat (limited to 'farstream')
-rw-r--r--farstream/fs-candidate.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/farstream/fs-candidate.h b/farstream/fs-candidate.h
index b8ad723f..5abedb93 100644
--- a/farstream/fs-candidate.h
+++ b/farstream/fs-candidate.h
@@ -59,14 +59,25 @@ typedef enum
/**
* FsNetworkProtocol:
* @FS_NETWORK_PROTOCOL_UDP: A UDP based protocol
- * @FS_NETWORK_PROTOCOL_TCP: A TCP based protocol
+ * @FS_NETWORK_PROTOCOL_TCP: A TCP based protocol, will listen for
+ * incoming connections
+ * @FS_NETWORK_PROTOCOL_TCP_PASSIVE: A TCP based protocol, will listen for
+ * incoming connections
+ * @FS_NETWORK_PROTOCOL_TCP_ACTIVE: A TCP based protocol, will attempt to
+ * open an outbound connection
+ * @FS_NETWORK_PROTOCOL_TCP_SO: A TCP based protocol, will listen for
+ * incoming connections and attempt an outbound connection at the same time
+ * as the peer (Simultanuous-Open)
*
* An enum for the base IP protocol
*/
typedef enum
{
FS_NETWORK_PROTOCOL_UDP,
- FS_NETWORK_PROTOCOL_TCP
+ FS_NETWORK_PROTOCOL_TCP,
+ FS_NETWORK_PROTOCOL_TCP_PASSIVE = FS_NETWORK_PROTOCOL_TCP,
+ FS_NETWORK_PROTOCOL_TCP_ACTIVE,
+ FS_NETWORK_PROTOCOL_TCP_SO,
} FsNetworkProtocol;
/**