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

Side by Side Diff: webrtc/video/video_send_stream.h

Issue 2789843002: Delete VieRemb class, move functionality to PacketRouter. (Closed)
Patch Set: Delete obsolete suppression for PacketRouterTest.SendTransportFeedback. Created 3 years, 8 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
« no previous file with comments | « webrtc/video/video_receive_stream_unittest.cc ('k') | webrtc/video/video_send_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 19 matching lines...) Expand all
30 30
31 namespace webrtc { 31 namespace webrtc {
32 32
33 class CallStats; 33 class CallStats;
34 class SendSideCongestionController; 34 class SendSideCongestionController;
35 class IvfFileWriter; 35 class IvfFileWriter;
36 class ProcessThread; 36 class ProcessThread;
37 class RtpRtcp; 37 class RtpRtcp;
38 class RtpTransportControllerSendInterface; 38 class RtpTransportControllerSendInterface;
39 class RtcEventLog; 39 class RtcEventLog;
40 class VieRemb;
41 40
42 namespace internal { 41 namespace internal {
43 42
44 class VideoSendStreamImpl; 43 class VideoSendStreamImpl;
45 44
46 // VideoSendStream implements webrtc::VideoSendStream. 45 // VideoSendStream implements webrtc::VideoSendStream.
47 // Internally, it delegates all public methods to VideoSendStreamImpl and / or 46 // Internally, it delegates all public methods to VideoSendStreamImpl and / or
48 // VieEncoder. VideoSendStreamInternal is created and deleted on |worker_queue|. 47 // VieEncoder. VideoSendStreamInternal is created and deleted on |worker_queue|.
49 class VideoSendStream : public webrtc::VideoSendStream { 48 class VideoSendStream : public webrtc::VideoSendStream {
50 public: 49 public:
51 VideoSendStream(int num_cpu_cores, 50 VideoSendStream(int num_cpu_cores,
52 ProcessThread* module_process_thread, 51 ProcessThread* module_process_thread,
53 rtc::TaskQueue* worker_queue, 52 rtc::TaskQueue* worker_queue,
54 CallStats* call_stats, 53 CallStats* call_stats,
55 RtpTransportControllerSendInterface* transport, 54 RtpTransportControllerSendInterface* transport,
56 BitrateAllocator* bitrate_allocator, 55 BitrateAllocator* bitrate_allocator,
57 SendDelayStats* send_delay_stats, 56 SendDelayStats* send_delay_stats,
58 VieRemb* remb,
59 RtcEventLog* event_log, 57 RtcEventLog* event_log,
60 VideoSendStream::Config config, 58 VideoSendStream::Config config,
61 VideoEncoderConfig encoder_config, 59 VideoEncoderConfig encoder_config,
62 const std::map<uint32_t, RtpState>& suspended_ssrcs); 60 const std::map<uint32_t, RtpState>& suspended_ssrcs);
63 61
64 ~VideoSendStream() override; 62 ~VideoSendStream() override;
65 63
66 void SignalNetworkState(NetworkState state); 64 void SignalNetworkState(NetworkState state);
67 bool DeliverRtcp(const uint8_t* packet, size_t length); 65 bool DeliverRtcp(const uint8_t* packet, size_t length);
68 66
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 const VideoSendStream::Config config_; 101 const VideoSendStream::Config config_;
104 const VideoEncoderConfig::ContentType content_type_; 102 const VideoEncoderConfig::ContentType content_type_;
105 std::unique_ptr<VideoSendStreamImpl> send_stream_; 103 std::unique_ptr<VideoSendStreamImpl> send_stream_;
106 std::unique_ptr<ViEEncoder> vie_encoder_; 104 std::unique_ptr<ViEEncoder> vie_encoder_;
107 }; 105 };
108 106
109 } // namespace internal 107 } // namespace internal
110 } // namespace webrtc 108 } // namespace webrtc
111 109
112 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ 110 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/video/video_receive_stream_unittest.cc ('k') | webrtc/video/video_send_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698