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

Side by Side Diff: talk/media/webrtc/webrtcvoe.h

Issue 1457653003: Remove SetVideoLogging/SetAudioLogging from ChannelManager and down the stack. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: oops 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 | « talk/media/webrtc/webrtcvideoengine2.cc ('k') | talk/media/webrtc/webrtcvoiceengine.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 * libjingle 2 * libjingle
3 * Copyright 2004 Google Inc. 3 * Copyright 2004 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 scoped_voe_engine engine_; 129 scoped_voe_engine engine_;
130 scoped_voe_ptr<webrtc::VoEAudioProcessing> processing_; 130 scoped_voe_ptr<webrtc::VoEAudioProcessing> processing_;
131 scoped_voe_ptr<webrtc::VoEBase> base_; 131 scoped_voe_ptr<webrtc::VoEBase> base_;
132 scoped_voe_ptr<webrtc::VoECodec> codec_; 132 scoped_voe_ptr<webrtc::VoECodec> codec_;
133 scoped_voe_ptr<webrtc::VoEDtmf> dtmf_; 133 scoped_voe_ptr<webrtc::VoEDtmf> dtmf_;
134 scoped_voe_ptr<webrtc::VoEHardware> hw_; 134 scoped_voe_ptr<webrtc::VoEHardware> hw_;
135 scoped_voe_ptr<webrtc::VoENetwork> network_; 135 scoped_voe_ptr<webrtc::VoENetwork> network_;
136 scoped_voe_ptr<webrtc::VoERTP_RTCP> rtp_; 136 scoped_voe_ptr<webrtc::VoERTP_RTCP> rtp_;
137 scoped_voe_ptr<webrtc::VoEVolumeControl> volume_; 137 scoped_voe_ptr<webrtc::VoEVolumeControl> volume_;
138 }; 138 };
139
140 // Adds indirection to static WebRtc functions, allowing them to be mocked.
141 class VoETraceWrapper {
142 public:
143 virtual ~VoETraceWrapper() {}
144
145 virtual int SetTraceFilter(const unsigned int filter) {
146 return webrtc::VoiceEngine::SetTraceFilter(filter);
147 }
148 virtual int SetTraceFile(const char* fileNameUTF8) {
149 return webrtc::VoiceEngine::SetTraceFile(fileNameUTF8);
150 }
151 virtual int SetTraceCallback(webrtc::TraceCallback* callback) {
152 return webrtc::VoiceEngine::SetTraceCallback(callback);
153 }
154 };
155
156 } // namespace cricket 139 } // namespace cricket
157 140
158 #endif // TALK_MEDIA_WEBRTCVOE_H_ 141 #endif // TALK_MEDIA_WEBRTCVOE_H_
OLDNEW
« no previous file with comments | « talk/media/webrtc/webrtcvideoengine2.cc ('k') | talk/media/webrtc/webrtcvoiceengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698