Option for enabling ICE TCP Candidates

This commit is contained in:
Murat Dogan
2019-12-17 07:49:26 +03:00
parent 432be41b9a
commit 278ac22766
4 changed files with 9 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ template <class T> weak_ptr<T> make_weak_ptr(shared_ptr<T> ptr) { return ptr; }
int main(int argc, char **argv) {
rtc::Configuration config;
// config.iceServers.emplace_back("stun.l.google.com:19302");
// config.enableIceTcp = true;
// IceServer turnServer("TURN_SERVER_URL", "PORT_NO", IceServer::Type::TURN, "USERNAME",
// "PASSWORD", IceServer::RelayType::RELAY_TYPE_TURN_TLS);