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

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

Issue 2517173004: Move VideoFrame and related declarations to webrtc/api/video. (Closed)
Patch Set: Make rotation check clearer. Created 3 years, 11 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
11 // This file contains fake implementations, for use in unit tests, of the 11 // This file contains fake implementations, for use in unit tests, of the
12 // following classes: 12 // following classes:
13 // 13 //
14 // webrtc::Call 14 // webrtc::Call
15 // webrtc::AudioSendStream 15 // webrtc::AudioSendStream
16 // webrtc::AudioReceiveStream 16 // webrtc::AudioReceiveStream
17 // webrtc::VideoSendStream 17 // webrtc::VideoSendStream
18 // webrtc::VideoReceiveStream 18 // webrtc::VideoReceiveStream
19 19
20 #ifndef WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ 20 #ifndef WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
21 #define WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ 21 #define WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
22 22
23 #include <list> 23 #include <list>
24 #include <memory> 24 #include <memory>
25 #include <string> 25 #include <string>
26 #include <vector> 26 #include <vector>
27 27
28 #include "webrtc/api/video/video_frame.h"
28 #include "webrtc/base/buffer.h" 29 #include "webrtc/base/buffer.h"
29 #include "webrtc/call/audio_receive_stream.h" 30 #include "webrtc/call/audio_receive_stream.h"
30 #include "webrtc/call/audio_send_stream.h" 31 #include "webrtc/call/audio_send_stream.h"
31 #include "webrtc/call/call.h" 32 #include "webrtc/call/call.h"
32 #include "webrtc/call/flexfec_receive_stream.h" 33 #include "webrtc/call/flexfec_receive_stream.h"
33 #include "webrtc/video_frame.h"
34 #include "webrtc/video_receive_stream.h" 34 #include "webrtc/video_receive_stream.h"
35 #include "webrtc/video_send_stream.h" 35 #include "webrtc/video_send_stream.h"
36 36
37 namespace cricket { 37 namespace cricket {
38 class FakeAudioSendStream final : public webrtc::AudioSendStream { 38 class FakeAudioSendStream final : public webrtc::AudioSendStream {
39 public: 39 public:
40 struct TelephoneEvent { 40 struct TelephoneEvent {
41 int payload_type = -1; 41 int payload_type = -1;
42 int payload_frequency = -1; 42 int payload_frequency = -1;
43 int event_code = 0; 43 int event_code = 0;
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 303
304 int num_created_send_streams_; 304 int num_created_send_streams_;
305 int num_created_receive_streams_; 305 int num_created_receive_streams_;
306 306
307 int audio_transport_overhead_; 307 int audio_transport_overhead_;
308 int video_transport_overhead_; 308 int video_transport_overhead_;
309 }; 309 };
310 310
311 } // namespace cricket 311 } // namespace cricket
312 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ 312 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
OLDNEW
« no previous file with comments | « webrtc/media/devices/gtkvideorenderer.cc ('k') | webrtc/media/engine/fakewebrtcvideocapturemodule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698