turn: re-direct for DTLS must be handled using a new connection
This commit is contained in:
parent
8277f5ff0f
commit
6c99fc36f0
1 changed files with 2 additions and 1 deletions
|
@ -119,7 +119,8 @@ static void allocate_resp_handler(int err, uint16_t scode, const char *reason,
|
|||
break;
|
||||
|
||||
case 300:
|
||||
if (turnc->proto == IPPROTO_TCP)
|
||||
if (turnc->proto == IPPROTO_TCP ||
|
||||
turnc->proto == STUN_TRANSP_DTLS)
|
||||
break;
|
||||
|
||||
alt = stun_msg_attr(msg, STUN_ATTR_ALT_SERVER);
|
||||
|
|
Loading…
Add table
Reference in a new issue