Move the rfc4571 handling for OC2007 into udp-turn
authorYouness Alaoui <youness.alaoui@collabora.co.uk>
Sat, 19 Apr 2014 04:52:18 +0000 (00:52 -0400)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Sat, 17 May 2014 04:22:36 +0000 (00:22 -0400)
commitc6ba5a24973cb2e8c79b6abe69af8c2fc3c10674
treeabce4a2da9bfc999969d799047feb44ae4c9eec9
parent8e7cd06ad6fc4a4f63835c7608a871039245b025
Move the rfc4571 handling for OC2007 into udp-turn

In the case of OC2007, we must consider that the turn control messages
are framed with rfc4571 and udp-turn-over-tcp only adds a single guint16
to represent turn-control or end-to-end indication. Otherwise, we will
have issues with double-framing when we do the allocate directly on
the udp-turn-over-tcp but we'd have no framing once we add the udp-turn
socket layer on top of udp-turn-over-tcp
socket/udp-turn-over-tcp.c
socket/udp-turn.c