diff --git a/webrtc/common_types.cc b/webrtc/common_types.cc index 1ea40990f4..7a27fcb91a 100644 --- a/webrtc/common_types.cc +++ b/webrtc/common_types.cc @@ -178,16 +178,6 @@ VideoCodecType PayloadStringToCodecType(const std::string& name) { return kVideoCodecGeneric; } -// TODO(kthelgason): Remove these methods once upstream projects -// have been updated. -rtc::Optional CodecTypeToPayloadName(VideoCodecType type) { - return rtc::Optional(CodecTypeToPayloadString(type)); -} - -rtc::Optional PayloadNameToCodecType(const std::string& name) { - return rtc::Optional(PayloadStringToCodecType(name)); -} - const uint32_t BitrateAllocation::kMaxBitrateBps = std::numeric_limits::max(); diff --git a/webrtc/common_types.h b/webrtc/common_types.h index e5bd9a8741..9ad5165882 100644 --- a/webrtc/common_types.h +++ b/webrtc/common_types.h @@ -554,10 +554,6 @@ enum VideoCodecType { // 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 CodecTypeToPayloadName(VideoCodecType type); -rtc::Optional PayloadNameToCodecType(const std::string& name); union VideoCodecUnion { VideoCodecVP8 VP8;