diff --git a/p2p/base/transport_description.h b/p2p/base/transport_description.h index e7934bab20..d7eedf15ef 100644 --- a/p2p/base/transport_description.h +++ b/p2p/base/transport_description.h @@ -20,6 +20,7 @@ #include "api/rtc_error.h" #include "p2p/base/p2p_constants.h" #include "rtc_base/ssl_fingerprint.h" +#include "rtc_base/system/rtc_export.h" namespace cricket { @@ -59,8 +60,9 @@ enum ConnectionRole { struct IceParameters { // Constructs an IceParameters from a user-provided ufrag/pwd combination. // Returns a SyntaxError if the ufrag or pwd are malformed. - static webrtc::RTCErrorOr Parse(absl::string_view raw_ufrag, - absl::string_view raw_pwd); + static RTC_EXPORT webrtc::RTCErrorOr Parse( + absl::string_view raw_ufrag, + absl::string_view raw_pwd); // TODO(honghaiz): Include ICE mode in this structure to match the ORTC // struct: