| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 #ifndef WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ | 11 #ifndef WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ |
| 12 #define WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ | 12 #define WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <memory> | 15 #include <memory> |
| 16 #include <set> | 16 #include <set> |
| 17 #include <string> | 17 #include <string> |
| 18 #include <vector> | 18 #include <vector> |
| 19 | 19 |
| 20 #include "webrtc/base/asyncinvoker.h" | 20 #include "webrtc/base/asyncinvoker.h" |
| 21 #include "webrtc/base/criticalsection.h" | 21 #include "webrtc/base/criticalsection.h" |
| 22 #include "webrtc/base/networkroute.h" | 22 #include "webrtc/base/networkroute.h" |
| 23 #include "webrtc/base/thread_annotations.h" | 23 #include "webrtc/base/thread_annotations.h" |
| 24 #include "webrtc/base/thread_checker.h" | 24 #include "webrtc/base/thread_checker.h" |
| 25 #include "webrtc/media/base/videosinkinterface.h" | 25 #include "webrtc/media/base/videosinkinterface.h" |
| 26 #include "webrtc/media/base/videosourceinterface.h" | 26 #include "webrtc/media/base/videosourceinterface.h" |
| 27 #include "webrtc/call.h" | 27 #include "webrtc/call.h" |
| 28 #include "webrtc/media/base/mediaengine.h" | 28 #include "webrtc/media/base/mediaengine.h" |
| 29 #include "webrtc/media/engine/webrtcvideochannelfactory.h" | |
| 30 #include "webrtc/media/engine/webrtcvideodecoderfactory.h" | 29 #include "webrtc/media/engine/webrtcvideodecoderfactory.h" |
| 31 #include "webrtc/media/engine/webrtcvideoencoderfactory.h" | 30 #include "webrtc/media/engine/webrtcvideoencoderfactory.h" |
| 32 #include "webrtc/transport.h" | 31 #include "webrtc/transport.h" |
| 33 #include "webrtc/video_frame.h" | 32 #include "webrtc/video_frame.h" |
| 34 #include "webrtc/video_receive_stream.h" | 33 #include "webrtc/video_receive_stream.h" |
| 35 #include "webrtc/video_send_stream.h" | 34 #include "webrtc/video_send_stream.h" |
| 36 | 35 |
| 37 namespace webrtc { | 36 namespace webrtc { |
| 38 class VideoDecoder; | 37 class VideoDecoder; |
| 39 class VideoEncoder; | 38 class VideoEncoder; |
| 40 struct MediaConfig; | 39 struct MediaConfig; |
| 41 } | 40 } |
| 42 | 41 |
| 43 namespace rtc { | 42 namespace rtc { |
| 44 class Thread; | 43 class Thread; |
| 45 } // namespace rtc | 44 } // namespace rtc |
| 46 | 45 |
| 47 namespace cricket { | 46 namespace cricket { |
| 48 | 47 |
| 49 class VideoCapturer; | 48 class VideoCapturer; |
| 50 class VideoFrame; | 49 class VideoFrame; |
| 51 class VideoProcessor; | 50 class VideoProcessor; |
| 52 class VideoRenderer; | 51 class VideoRenderer; |
| 53 class VoiceMediaChannel; | 52 class VoiceMediaChannel; |
| 54 class WebRtcDecoderObserver; | 53 class WebRtcDecoderObserver; |
| 55 class WebRtcEncoderObserver; | 54 class WebRtcEncoderObserver; |
| 56 class WebRtcLocalStreamInfo; | 55 class WebRtcLocalStreamInfo; |
| 57 class WebRtcRenderAdapter; | 56 class WebRtcRenderAdapter; |
| 57 class WebRtcVideoChannel2; |
| 58 class WebRtcVideoChannelRecvInfo; | 58 class WebRtcVideoChannelRecvInfo; |
| 59 class WebRtcVideoChannelSendInfo; | 59 class WebRtcVideoChannelSendInfo; |
| 60 class WebRtcVoiceEngine; | 60 class WebRtcVoiceEngine; |
| 61 class WebRtcVoiceMediaChannel; | 61 class WebRtcVoiceMediaChannel; |
| 62 | 62 |
| 63 struct Device; | 63 struct Device; |
| 64 | 64 |
| 65 // Exposed here for unittests. | 65 // Exposed here for unittests. |
| 66 std::vector<VideoCodec> DefaultVideoCodecList(); | 66 std::vector<VideoCodec> DefaultVideoCodecList(); |
| 67 | 67 |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 VideoSendParameters send_params_; | 538 VideoSendParameters send_params_; |
| 539 VideoOptions default_send_options_; | 539 VideoOptions default_send_options_; |
| 540 VideoRecvParameters recv_params_; | 540 VideoRecvParameters recv_params_; |
| 541 bool red_disabled_by_remote_side_; | 541 bool red_disabled_by_remote_side_; |
| 542 int64_t last_stats_log_ms_; | 542 int64_t last_stats_log_ms_; |
| 543 }; | 543 }; |
| 544 | 544 |
| 545 } // namespace cricket | 545 } // namespace cricket |
| 546 | 546 |
| 547 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ | 547 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ |
| OLD | NEW |