Skip to content

Commit 67e88a6

Browse files
Merge pull request #1222 from paullouisageneau/ignore-turn-tcp-tls-libjuice
Ignore TURN servers with transport TCP or TLS with libjuice
2 parents 730a1cd + 42ac445 commit 67e88a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/impl/icetransport.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@ void IceTransport::addIceServer(IceServer server) {
155155
return;
156156
}
157157

158+
if (server.relayType != IceServer::RelayType::TurnUdp) {
159+
PLOG_WARNING << "TURN transports TCP and TLS are not supported with libjuice";
160+
return;
161+
}
162+
158163
if (mTurnServersAdded >= MAX_TURN_SERVERS_COUNT)
159164
return;
160165

0 commit comments

Comments
 (0)