Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: webrtc/pc/channel_unittest.cc

Issue 1845673002: Removing `preference` field from `cricket::Codec`. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Improve codec sorting performance. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/pc/channel_unittest.cc
diff --git a/webrtc/pc/channel_unittest.cc b/webrtc/pc/channel_unittest.cc
index 9d20def32f2c60bf9b5b307c605497ed9961ad9e..c2887fbcf8b19a9c7bc3bb5946662d265f2b6258 100644
--- a/webrtc/pc/channel_unittest.cc
+++ b/webrtc/pc/channel_unittest.cc
@@ -48,12 +48,12 @@ using cricket::StreamParams;
using cricket::TransportChannel;
using rtc::WindowId;
-static const cricket::AudioCodec kPcmuCodec(0, "PCMU", 64000, 8000, 1, 0);
-static const cricket::AudioCodec kPcmaCodec(8, "PCMA", 64000, 8000, 1, 0);
-static const cricket::AudioCodec kIsacCodec(103, "ISAC", 40000, 16000, 1, 0);
-static const cricket::VideoCodec kH264Codec(97, "H264", 640, 400, 30, 0);
-static const cricket::VideoCodec kH264SvcCodec(99, "H264-SVC", 320, 200, 15, 0);
-static const cricket::DataCodec kGoogleDataCodec(101, "google-data", 0);
+static const cricket::AudioCodec kPcmuCodec(0, "PCMU", 64000, 8000, 1);
+static const cricket::AudioCodec kPcmaCodec(8, "PCMA", 64000, 8000, 1);
+static const cricket::AudioCodec kIsacCodec(103, "ISAC", 40000, 16000, 1);
+static const cricket::VideoCodec kH264Codec(97, "H264", 640, 400, 30);
+static const cricket::VideoCodec kH264SvcCodec(99, "H264-SVC", 320, 200, 15);
+static const cricket::DataCodec kGoogleDataCodec(101, "google-data");
static const uint32_t kSsrc1 = 0x1111;
static const uint32_t kSsrc2 = 0x2222;
static const uint32_t kSsrc3 = 0x3333;

Powered by Google App Engine
This is Rietveld 408576698