diff --git a/api/jsep.h b/api/jsep.h index 643a99d315..2578a281d3 100644 --- a/api/jsep.h +++ b/api/jsep.h @@ -117,7 +117,8 @@ RTC_EXPORT const char* SdpTypeToString(SdpType type); // Returns the SdpType from its string form. The string form can be one of the // constants defined in SessionDescriptionInterface. Passing in any other string // results in nullopt. -absl::optional SdpTypeFromString(const std::string& type_str); +RTC_EXPORT absl::optional SdpTypeFromString( + const std::string& type_str); // Class representation of an SDP session description. //