|
@@ -51,7 +51,7 @@ struct RTC_CPP_EXPORT IceServer {
|
|
RelayType relayType;
|
|
RelayType relayType;
|
|
};
|
|
};
|
|
|
|
|
|
-struct ProxyServer {
|
|
|
|
|
|
+struct RTC_CPP_EXPORT ProxyServer {
|
|
enum class Type { None = 0, Socks5, Http, Last = Http };
|
|
enum class Type { None = 0, Socks5, Http, Last = Http };
|
|
|
|
|
|
ProxyServer(Type type_, string ip_, uint16_t port_, string username_ = "",
|
|
ProxyServer(Type type_, string ip_, uint16_t port_, string username_ = "",
|
|
@@ -64,7 +64,7 @@ struct ProxyServer {
|
|
string password;
|
|
string password;
|
|
};
|
|
};
|
|
|
|
|
|
-struct Configuration {
|
|
|
|
|
|
+struct RTC_CPP_EXPORT Configuration {
|
|
std::vector<IceServer> iceServers;
|
|
std::vector<IceServer> iceServers;
|
|
std::optional<ProxyServer> proxyServer;
|
|
std::optional<ProxyServer> proxyServer;
|
|
bool enableIceTcp = false;
|
|
bool enableIceTcp = false;
|