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

Side by Side Diff: webrtc/config.cc

Issue 1363573002: Wire up transport sequence number / send time callbacks to webrtc via libjingle. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add missing updated_options Created 5 years, 2 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
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 18 matching lines...) Expand all
29 return ss.str(); 29 return ss.str();
30 } 30 }
31 31
32 const char* RtpExtension::kTOffset = "urn:ietf:params:rtp-hdrext:toffset"; 32 const char* RtpExtension::kTOffset = "urn:ietf:params:rtp-hdrext:toffset";
33 const char* RtpExtension::kAbsSendTime = 33 const char* RtpExtension::kAbsSendTime =
34 "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"; 34 "http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time";
35 const char* RtpExtension::kVideoRotation = "urn:3gpp:video-orientation"; 35 const char* RtpExtension::kVideoRotation = "urn:3gpp:video-orientation";
36 const char* RtpExtension::kAudioLevel = 36 const char* RtpExtension::kAudioLevel =
37 "urn:ietf:params:rtp-hdrext:ssrc-audio-level"; 37 "urn:ietf:params:rtp-hdrext:ssrc-audio-level";
38 const char* RtpExtension::kTransportSequenceNumber = 38 const char* RtpExtension::kTransportSequenceNumber =
39 "http://www.webrtc.org/experiments/rtp-hdrext/transport-sequence-number"; 39 "http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions";
40 40
41 bool RtpExtension::IsSupportedForAudio(const std::string& name) { 41 bool RtpExtension::IsSupportedForAudio(const std::string& name) {
42 return name == webrtc::RtpExtension::kAbsSendTime || 42 return name == webrtc::RtpExtension::kAbsSendTime ||
43 name == webrtc::RtpExtension::kAudioLevel || 43 name == webrtc::RtpExtension::kAudioLevel ||
44 name == webrtc::RtpExtension::kTransportSequenceNumber; 44 name == webrtc::RtpExtension::kTransportSequenceNumber;
45 } 45 }
46 46
47 bool RtpExtension::IsSupportedForVideo(const std::string& name) { 47 bool RtpExtension::IsSupportedForVideo(const std::string& name) {
48 return name == webrtc::RtpExtension::kTOffset || 48 return name == webrtc::RtpExtension::kTOffset ||
49 name == webrtc::RtpExtension::kAbsSendTime || 49 name == webrtc::RtpExtension::kAbsSendTime ||
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 113 }
114 ss << ", encoder_specific_settings: "; 114 ss << ", encoder_specific_settings: ";
115 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); 115 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL");
116 116
117 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; 117 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps;
118 ss << '}'; 118 ss << '}';
119 return ss.str(); 119 return ss.str();
120 } 120 }
121 121
122 } // namespace webrtc 122 } // namespace webrtc
OLDNEW
« webrtc/call.h ('K') | « webrtc/call/call.cc ('k') | webrtc/libjingle_examples.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698