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

Side by Side Diff: webrtc/config.cc

Issue 1754653002: Change transport sequence number extension strings to specify what revision is implemented. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/media/base/constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #include "webrtc/config.h" 10 #include "webrtc/config.h"
(...skipping 19 matching lines...) Expand all
30 return ss.str(); 30 return ss.str();
31 } 31 }
32 32
33 const char* RtpExtension::kTOffset = "urn:ietf:params:rtp-hdrext:toffset"; 33 const char* RtpExtension::kTOffset = "urn:ietf:params:rtp-hdrext:toffset";
34 const char* RtpExtension::kAbsSendTime = 34 const char* RtpExtension::kAbsSendTime =
35 "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"; 35 "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time";
36 const char* RtpExtension::kVideoRotation = "urn:3gpp:video-orientation"; 36 const char* RtpExtension::kVideoRotation = "urn:3gpp:video-orientation";
37 const char* RtpExtension::kAudioLevel = 37 const char* RtpExtension::kAudioLevel =
38 "urn:ietf:params:rtp-hdrext:ssrc-audio-level"; 38 "urn:ietf:params:rtp-hdrext:ssrc-audio-level";
39 const char* RtpExtension::kTransportSequenceNumber = 39 const char* RtpExtension::kTransportSequenceNumber =
40 "http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions"; 40 "http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01";
41 41
42 bool RtpExtension::IsSupportedForAudio(const std::string& name) { 42 bool RtpExtension::IsSupportedForAudio(const std::string& name) {
43 return name == webrtc::RtpExtension::kAbsSendTime || 43 return name == webrtc::RtpExtension::kAbsSendTime ||
44 name == webrtc::RtpExtension::kAudioLevel || 44 name == webrtc::RtpExtension::kAudioLevel ||
45 name == webrtc::RtpExtension::kTransportSequenceNumber; 45 name == webrtc::RtpExtension::kTransportSequenceNumber;
46 } 46 }
47 47
48 bool RtpExtension::IsSupportedForVideo(const std::string& name) { 48 bool RtpExtension::IsSupportedForVideo(const std::string& name) {
49 return name == webrtc::RtpExtension::kTOffset || 49 return name == webrtc::RtpExtension::kTOffset ||
50 name == webrtc::RtpExtension::kAbsSendTime || 50 name == webrtc::RtpExtension::kAbsSendTime ||
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 ss << ", encoder_specific_settings: "; 115 ss << ", encoder_specific_settings: ";
116 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); 116 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL");
117 117
118 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; 118 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps;
119 ss << '}'; 119 ss << '}';
120 return ss.str(); 120 return ss.str();
121 } 121 }
122 122
123 } // namespace webrtc 123 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/media/base/constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698