Index: webrtc/common_types.h |
diff --git a/webrtc/common_types.h b/webrtc/common_types.h |
index 843d9b858468443abf2879940582e3cc87cee96e..c4b5ce8e70ee27b581cd302befc83353b633457a 100644 |
--- a/webrtc/common_types.h |
+++ b/webrtc/common_types.h |
@@ -550,6 +550,10 @@ |
// Translates from name of codec to codec type and vice versa. |
const char* CodecTypeToPayloadString(VideoCodecType type); |
VideoCodecType PayloadStringToCodecType(const std::string& name); |
+// TODO(kthelgason): Remove these methods once upstream projects |
+// have been updated. |
+rtc::Optional<const char*> CodecTypeToPayloadName(VideoCodecType type); |
+rtc::Optional<VideoCodecType> PayloadNameToCodecType(const std::string& name); |
union VideoCodecUnion { |
VideoCodecVP8 VP8; |