Deprecate cricket::VideoCodec and cricket::AudioCodec
These are aliases for cricket::Codec.
Also remove internal usage
Bug: b/42225532
Change-Id: I220b95260dc942368cb6280432a058159eec8700
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/349321
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#42194}
diff --git a/pc/peer_connection.cc b/pc/peer_connection.cc
index 444a0bf..44fae13 100644
--- a/pc/peer_connection.cc
+++ b/pc/peer_connection.cc
@@ -1141,7 +1141,7 @@
"Attempted to set an unimplemented parameter of RtpParameters.");
}
- std::vector<cricket::VideoCodec> codecs;
+ std::vector<cricket::Codec> codecs;
// Gather the current codec capabilities to allow checking scalabilityMode and
// codec selection against supported values.
if (media_type == cricket::MEDIA_TYPE_VIDEO) {