| 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 15 matching lines...) Expand all Loading... |
| 26 #include "webrtc/video/send_delay_stats.h" | 26 #include "webrtc/video/send_delay_stats.h" |
| 27 #include "webrtc/video/send_statistics_proxy.h" | 27 #include "webrtc/video/send_statistics_proxy.h" |
| 28 #include "webrtc/video/vie_encoder.h" | 28 #include "webrtc/video/vie_encoder.h" |
| 29 #include "webrtc/video_receive_stream.h" | 29 #include "webrtc/video_receive_stream.h" |
| 30 #include "webrtc/video_send_stream.h" | 30 #include "webrtc/video_send_stream.h" |
| 31 | 31 |
| 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 SendSideCongestionController; |
| 37 class IvfFileWriter; | 37 class IvfFileWriter; |
| 38 class PacketRouter; | 38 class PacketRouter; |
| 39 class ProcessThread; | 39 class ProcessThread; |
| 40 class RtpRtcp; | 40 class RtpRtcp; |
| 41 class VieRemb; | 41 class VieRemb; |
| 42 class RtcEventLog; | 42 class RtcEventLog; |
| 43 | 43 |
| 44 namespace internal { | 44 namespace internal { |
| 45 | 45 |
| 46 class VideoSendStreamImpl; | 46 class VideoSendStreamImpl; |
| 47 | 47 |
| 48 // VideoSendStream implements webrtc::VideoSendStream. | 48 // VideoSendStream implements webrtc::VideoSendStream. |
| 49 // Internally, it delegates all public methods to VideoSendStreamImpl and / or | 49 // Internally, it delegates all public methods to VideoSendStreamImpl and / or |
| 50 // VieEncoder. VideoSendStreamInternal is created and deleted on |worker_queue|. | 50 // VieEncoder. VideoSendStreamInternal is created and deleted on |worker_queue|. |
| 51 class VideoSendStream : public webrtc::VideoSendStream { | 51 class VideoSendStream : public webrtc::VideoSendStream { |
| 52 public: | 52 public: |
| 53 VideoSendStream(int num_cpu_cores, | 53 VideoSendStream(int num_cpu_cores, |
| 54 ProcessThread* module_process_thread, | 54 ProcessThread* module_process_thread, |
| 55 rtc::TaskQueue* worker_queue, | 55 rtc::TaskQueue* worker_queue, |
| 56 CallStats* call_stats, | 56 CallStats* call_stats, |
| 57 CongestionController* congestion_controller, | 57 SendSideCongestionController* congestion_controller, |
| 58 PacketRouter* packet_router, | 58 PacketRouter* packet_router, |
| 59 BitrateAllocator* bitrate_allocator, | 59 BitrateAllocator* bitrate_allocator, |
| 60 SendDelayStats* send_delay_stats, | 60 SendDelayStats* send_delay_stats, |
| 61 VieRemb* remb, | 61 VieRemb* remb, |
| 62 RtcEventLog* event_log, | 62 RtcEventLog* event_log, |
| 63 VideoSendStream::Config config, | 63 VideoSendStream::Config config, |
| 64 VideoEncoderConfig encoder_config, | 64 VideoEncoderConfig encoder_config, |
| 65 const std::map<uint32_t, RtpState>& suspended_ssrcs); | 65 const std::map<uint32_t, RtpState>& suspended_ssrcs); |
| 66 | 66 |
| 67 ~VideoSendStream() override; | 67 ~VideoSendStream() override; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 const VideoSendStream::Config config_; | 106 const VideoSendStream::Config config_; |
| 107 const VideoEncoderConfig::ContentType content_type_; | 107 const VideoEncoderConfig::ContentType content_type_; |
| 108 std::unique_ptr<VideoSendStreamImpl> send_stream_; | 108 std::unique_ptr<VideoSendStreamImpl> send_stream_; |
| 109 std::unique_ptr<ViEEncoder> vie_encoder_; | 109 std::unique_ptr<ViEEncoder> vie_encoder_; |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 } // namespace internal | 112 } // namespace internal |
| 113 } // namespace webrtc | 113 } // namespace webrtc |
| 114 | 114 |
| 115 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ | 115 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ |
| OLD | NEW |