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

Side by Side Diff: webrtc/media/engine/fakewebrtccall.h

Issue 1964473002: Potential fix for rtx/red issue where red is removed only from the remote description. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 void InjectFrame(const webrtc::VideoFrame& frame); 150 void InjectFrame(const webrtc::VideoFrame& frame);
151 151
152 void SetStats(const webrtc::VideoReceiveStream::Stats& stats); 152 void SetStats(const webrtc::VideoReceiveStream::Stats& stats);
153 153
154 private: 154 private:
155 // webrtc::VideoReceiveStream implementation. 155 // webrtc::VideoReceiveStream implementation.
156 void Start() override; 156 void Start() override;
157 void Stop() override; 157 void Stop() override;
158 158
159 webrtc::VideoReceiveStream::Stats GetStats() const override; 159 webrtc::VideoReceiveStream::Stats GetStats() const override;
160 void DisableFec() override {}
160 161
161 webrtc::VideoReceiveStream::Config config_; 162 webrtc::VideoReceiveStream::Config config_;
162 bool receiving_; 163 bool receiving_;
163 webrtc::VideoReceiveStream::Stats stats_; 164 webrtc::VideoReceiveStream::Stats stats_;
164 }; 165 };
165 166
166 class FakeCall final : public webrtc::Call, public webrtc::PacketReceiver { 167 class FakeCall final : public webrtc::Call, public webrtc::PacketReceiver {
167 public: 168 public:
168 explicit FakeCall(const webrtc::Call::Config& config); 169 explicit FakeCall(const webrtc::Call::Config& config);
169 ~FakeCall() override; 170 ~FakeCall() override;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 std::vector<FakeAudioSendStream*> audio_send_streams_; 229 std::vector<FakeAudioSendStream*> audio_send_streams_;
229 std::vector<FakeVideoReceiveStream*> video_receive_streams_; 230 std::vector<FakeVideoReceiveStream*> video_receive_streams_;
230 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; 231 std::vector<FakeAudioReceiveStream*> audio_receive_streams_;
231 232
232 int num_created_send_streams_; 233 int num_created_send_streams_;
233 int num_created_receive_streams_; 234 int num_created_receive_streams_;
234 }; 235 };
235 236
236 } // namespace cricket 237 } // namespace cricket
237 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ 238 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcvideoengine2.h » ('j') | webrtc/media/engine/webrtcvideoengine2.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698