OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 21 matching lines...) Expand all Loading... |
32 namespace webrtc { | 32 namespace webrtc { |
33 | 33 |
34 class BitrateAllocator; | 34 class BitrateAllocator; |
35 class CallStats; | 35 class CallStats; |
36 class CongestionController; | 36 class CongestionController; |
37 class IvfFileWriter; | 37 class IvfFileWriter; |
38 class ProcessThread; | 38 class ProcessThread; |
39 class RtpRtcp; | 39 class RtpRtcp; |
40 class ViEEncoder; | 40 class ViEEncoder; |
41 class VieRemb; | 41 class VieRemb; |
| 42 class RtcEventLog; |
42 | 43 |
43 namespace vcm { | 44 namespace vcm { |
44 class VideoSender; | 45 class VideoSender; |
45 } // namespace vcm | 46 } // namespace vcm |
46 | 47 |
47 namespace internal { | 48 namespace internal { |
48 | 49 |
49 class VideoSendStream : public webrtc::VideoSendStream, | 50 class VideoSendStream : public webrtc::VideoSendStream, |
50 public webrtc::CpuOveruseObserver, | 51 public webrtc::CpuOveruseObserver, |
51 public webrtc::BitrateAllocatorObserver, | 52 public webrtc::BitrateAllocatorObserver, |
52 public webrtc::VCMProtectionCallback, | 53 public webrtc::VCMProtectionCallback, |
53 protected webrtc::EncodedImageCallback { | 54 protected webrtc::EncodedImageCallback { |
54 public: | 55 public: |
55 VideoSendStream(int num_cpu_cores, | 56 VideoSendStream(int num_cpu_cores, |
56 ProcessThread* module_process_thread, | 57 ProcessThread* module_process_thread, |
57 CallStats* call_stats, | 58 CallStats* call_stats, |
58 CongestionController* congestion_controller, | 59 CongestionController* congestion_controller, |
59 BitrateAllocator* bitrate_allocator, | 60 BitrateAllocator* bitrate_allocator, |
60 SendDelayStats* send_delay_stats, | 61 SendDelayStats* send_delay_stats, |
61 VieRemb* remb, | 62 VieRemb* remb, |
| 63 RtcEventLog* event_log, |
62 const VideoSendStream::Config& config, | 64 const VideoSendStream::Config& config, |
63 const VideoEncoderConfig& encoder_config, | 65 const VideoEncoderConfig& encoder_config, |
64 const std::map<uint32_t, RtpState>& suspended_ssrcs); | 66 const std::map<uint32_t, RtpState>& suspended_ssrcs); |
65 | 67 |
66 ~VideoSendStream() override; | 68 ~VideoSendStream() override; |
67 | 69 |
68 void SignalNetworkState(NetworkState state); | 70 void SignalNetworkState(NetworkState state); |
69 bool DeliverRtcp(const uint8_t* packet, size_t length); | 71 bool DeliverRtcp(const uint8_t* packet, size_t length); |
70 | 72 |
71 // webrtc::VideoSendStream implementation. | 73 // webrtc::VideoSendStream implementation. |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_; | 148 const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_; |
147 // RtpRtcp modules, declared here as they use other members on construction. | 149 // RtpRtcp modules, declared here as they use other members on construction. |
148 const std::vector<RtpRtcp*> rtp_rtcp_modules_; | 150 const std::vector<RtpRtcp*> rtp_rtcp_modules_; |
149 PayloadRouter payload_router_; | 151 PayloadRouter payload_router_; |
150 VideoCaptureInput input_; | 152 VideoCaptureInput input_; |
151 }; | 153 }; |
152 } // namespace internal | 154 } // namespace internal |
153 } // namespace webrtc | 155 } // namespace webrtc |
154 | 156 |
155 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ | 157 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ |
OLD | NEW |