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

Unified Diff: webrtc/pc/webrtcsdp.cc

Issue 2675173003: Adding "adapter" ORTC objects on top of ChannelManager/BaseChannel/etc. (Closed)
Patch Set: Add memcheck suppression for end-to-end tests. Created 3 years, 10 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
« no previous file with comments | « webrtc/pc/rtpsenderreceiver_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/webrtcsdp.cc
diff --git a/webrtc/pc/webrtcsdp.cc b/webrtc/pc/webrtcsdp.cc
index b749d6ff324887c8bce74c933c941b61b3fc1b28..13d09a6ee96efd33219e6e7df89ba5983cb49d7e 100644
--- a/webrtc/pc/webrtcsdp.cc
+++ b/webrtc/pc/webrtcsdp.cc
@@ -204,8 +204,6 @@ static const char kDummyPort[] = "9";
// RFC 3556
static const char kApplicationSpecificMaximum[] = "AS";
-static const int kDefaultVideoClockrate = 90000;
-
static const char kDefaultSctpmapProtocol[] = "webrtc-datachannel";
// RTP payload type is in the 0-127 range. Use -1 to indicate "all" payload
@@ -1737,8 +1735,8 @@ void BuildRtpMap(const MediaContentDescription* media_desc,
// [/<encodingparameters>]
if (it->id != kWildcardPayloadType) {
InitAttrLine(kAttributeRtpmap, &os);
- os << kSdpDelimiterColon << it->id << " " << it->name
- << "/" << kDefaultVideoClockrate;
+ os << kSdpDelimiterColon << it->id << " " << it->name << "/"
+ << cricket::kVideoCodecClockrate;
AddLine(os.str(), message);
}
AddRtcpFbLines(*it, message);
« no previous file with comments | « webrtc/pc/rtpsenderreceiver_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698