| OLD | NEW |
| 1 /* | 1 /* |
| 2 * libjingle | 2 * libjingle |
| 3 * Copyright 2015 Google Inc. | 3 * Copyright 2015 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 21 matching lines...) Expand all Loading... |
| 32 // webrtc::AudioSendStream | 32 // webrtc::AudioSendStream |
| 33 // webrtc::AudioReceiveStream | 33 // webrtc::AudioReceiveStream |
| 34 // webrtc::VideoSendStream | 34 // webrtc::VideoSendStream |
| 35 // webrtc::VideoReceiveStream | 35 // webrtc::VideoReceiveStream |
| 36 | 36 |
| 37 #ifndef TALK_MEDIA_WEBRTC_FAKEWEBRTCCALL_H_ | 37 #ifndef TALK_MEDIA_WEBRTC_FAKEWEBRTCCALL_H_ |
| 38 #define TALK_MEDIA_WEBRTC_FAKEWEBRTCCALL_H_ | 38 #define TALK_MEDIA_WEBRTC_FAKEWEBRTCCALL_H_ |
| 39 | 39 |
| 40 #include <vector> | 40 #include <vector> |
| 41 | 41 |
| 42 #include "webrtc/call.h" | |
| 43 #include "webrtc/audio_receive_stream.h" | 42 #include "webrtc/audio_receive_stream.h" |
| 44 #include "webrtc/audio_send_stream.h" | 43 #include "webrtc/audio_send_stream.h" |
| 44 #include "webrtc/call.h" |
| 45 #include "webrtc/video_frame.h" | 45 #include "webrtc/video_frame.h" |
| 46 #include "webrtc/video_receive_stream.h" | 46 #include "webrtc/video_receive_stream.h" |
| 47 #include "webrtc/video_send_stream.h" | 47 #include "webrtc/video_send_stream.h" |
| 48 | 48 |
| 49 namespace cricket { | 49 namespace cricket { |
| 50 class FakeAudioSendStream final : public webrtc::AudioSendStream { | 50 class FakeAudioSendStream final : public webrtc::AudioSendStream { |
| 51 public: | 51 public: |
| 52 struct TelephoneEvent { | 52 struct TelephoneEvent { |
| 53 int payload_type = -1; | 53 int payload_type = -1; |
| 54 uint8_t event_code = 0; | 54 uint8_t event_code = 0; |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 std::vector<FakeAudioSendStream*> audio_send_streams_; | 260 std::vector<FakeAudioSendStream*> audio_send_streams_; |
| 261 std::vector<FakeVideoReceiveStream*> video_receive_streams_; | 261 std::vector<FakeVideoReceiveStream*> video_receive_streams_; |
| 262 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; | 262 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; |
| 263 | 263 |
| 264 int num_created_send_streams_; | 264 int num_created_send_streams_; |
| 265 int num_created_receive_streams_; | 265 int num_created_receive_streams_; |
| 266 }; | 266 }; |
| 267 | 267 |
| 268 } // namespace cricket | 268 } // namespace cricket |
| 269 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ | 269 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ |
| OLD | NEW |