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

Side by Side Diff: webrtc/config.h

Issue 1418503010: Move some send stream configuration into webrtc::AudioSendStream. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 1 month 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 | « webrtc/call/call_unittest.cc ('k') | webrtc/test/mock_voice_engine.h » ('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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Payload type used for ULPFEC packets. 42 // Payload type used for ULPFEC packets.
43 int ulpfec_payload_type; 43 int ulpfec_payload_type;
44 44
45 // Payload type used for RED packets. 45 // Payload type used for RED packets.
46 int red_payload_type; 46 int red_payload_type;
47 47
48 // RTX payload type for RED payload. 48 // RTX payload type for RED payload.
49 int red_rtx_payload_type; 49 int red_rtx_payload_type;
50 }; 50 };
51 51
52 // RTP header extension to use for the video stream, see RFC 5285. 52 // RTP header extension, see RFC 5285.
53 struct RtpExtension { 53 struct RtpExtension {
54 RtpExtension(const std::string& name, int id) : name(name), id(id) {} 54 RtpExtension(const std::string& name, int id) : name(name), id(id) {}
55 std::string ToString() const; 55 std::string ToString() const;
56 bool operator==(const RtpExtension& rhs) const {
57 return name == rhs.name && id == rhs.id;
58 }
56 static bool IsSupportedForAudio(const std::string& name); 59 static bool IsSupportedForAudio(const std::string& name);
57 static bool IsSupportedForVideo(const std::string& name); 60 static bool IsSupportedForVideo(const std::string& name);
58 61
59 static const char* kTOffset; 62 static const char* kTOffset;
60 static const char* kAbsSendTime; 63 static const char* kAbsSendTime;
61 static const char* kVideoRotation; 64 static const char* kVideoRotation;
62 static const char* kAudioLevel; 65 static const char* kAudioLevel;
63 static const char* kTransportSequenceNumber; 66 static const char* kTransportSequenceNumber;
64 std::string name; 67 std::string name;
65 int id; 68 int id;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 134
132 struct NetEqFastAccelerate { 135 struct NetEqFastAccelerate {
133 NetEqFastAccelerate() : enabled(false) {} 136 NetEqFastAccelerate() : enabled(false) {}
134 explicit NetEqFastAccelerate(bool value) : enabled(value) {} 137 explicit NetEqFastAccelerate(bool value) : enabled(value) {}
135 bool enabled; 138 bool enabled;
136 }; 139 };
137 140
138 } // namespace webrtc 141 } // namespace webrtc
139 142
140 #endif // WEBRTC_CONFIG_H_ 143 #endif // WEBRTC_CONFIG_H_
OLDNEW
« no previous file with comments | « webrtc/call/call_unittest.cc ('k') | webrtc/test/mock_voice_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698