Add ProxyServer constructor

This commit is contained in:
Murat Dogan
2020-04-28 15:14:55 +03:00
parent 44361714a5
commit 3e7ee70b7e
2 changed files with 7 additions and 1 deletions

View File

@ -84,4 +84,7 @@ IceServer::IceServer(string hostname_, string service_, string username_, string
: hostname(std::move(hostname_)), service(std::move(service_)), type(Type::Turn),
username(std::move(username_)), password(std::move(password_)), relayType(relayType_) {}
ProxyServer::ProxyServer(Type type_, string ip_, uint16_t port_, string username_, string password_)
: type(type_), ip(ip_), port(port_), username(username_), password(password_) {}
} // namespace rtc