Only change the receiving nicesock for udp-turn for ice-tcp
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Tue, 20 Jan 2015 17:31:11 +0000 (12:31 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Tue, 20 Jan 2015 17:34:04 +0000 (12:34 -0500)
commite4b8707d4ada89d09d9513775f165bd6c1481e1e
tree2e5ff667e49de1ff904218b267814a19fc6eb9e9
parent641225708f185b3a1304d59a895c057dadec16b3
Only change the receiving nicesock for udp-turn for ice-tcp

The code was in the wrong spot, for OC2007, we need to fix the
nicesock used only in the case of udp-turn-over-tcp for OC2007
compatibility mode. With the current code, it was thinking that
the data came from TURN for every udp packet.
This should hopefully fix : https://github.com/EricssonResearch/openwebrtc/issues/85
agent/agent.c