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); |