Skip to content

Commit

Permalink
Ignore TURN servers with transport TCP or TLS with libjuice
Browse files Browse the repository at this point in the history
  • Loading branch information
paullouisageneau committed Jul 2, 2024
1 parent 730a1cd commit 42ac445
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/impl/icetransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ void IceTransport::addIceServer(IceServer server) {
return;
}

if (server.relayType != IceServer::RelayType::TurnUdp) {
PLOG_WARNING << "TURN transports TCP and TLS are not supported with libjuice";
return;
}

if (mTurnServersAdded >= MAX_TURN_SERVERS_COUNT)
return;

Expand Down

0 comments on commit 42ac445

Please sign in to comment.