Export SdpTypeFromString
Needed to get rid of a form of CreateSessionDescription that is due for deprecation. Bug: None Change-Id: I9717b7ded1e28cf803de4bebc852c2f255851918 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/359941 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42808}
This commit is contained in:
parent
a6186b2485
commit
b1ffa9bd4e
@ -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
|
// Returns the SdpType from its string form. The string form can be one of the
|
||||||
// constants defined in SessionDescriptionInterface. Passing in any other string
|
// constants defined in SessionDescriptionInterface. Passing in any other string
|
||||||
// results in nullopt.
|
// results in nullopt.
|
||||||
absl::optional<SdpType> SdpTypeFromString(const std::string& type_str);
|
RTC_EXPORT absl::optional<SdpType> SdpTypeFromString(
|
||||||
|
const std::string& type_str);
|
||||||
|
|
||||||
// Class representation of an SDP session description.
|
// Class representation of an SDP session description.
|
||||||
//
|
//
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user