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

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

Issue 2437503004: Set actual transport overhead in rtp_rtcp (Closed)
Patch Set: Rename SignalTransportOverheadChanged to UpdateTransportOverhead. Created 4 years, 1 month 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/test/mock_voe_channel_proxy.h ('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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // Calling this method will close and finalize any current logs. 83 // Calling this method will close and finalize any current logs.
84 // Giving rtc::kInvalidPlatformFileValue in any position disables logging 84 // Giving rtc::kInvalidPlatformFileValue in any position disables logging
85 // for the corresponding stream. 85 // for the corresponding stream.
86 // If a frame to be written would make the log too large the write fails and 86 // If a frame to be written would make the log too large the write fails and
87 // the log is closed and finalized. A |byte_limit| of 0 means no limit. 87 // the log is closed and finalized. A |byte_limit| of 0 means no limit.
88 void EnableEncodedFrameRecording(const std::vector<rtc::PlatformFile>& files, 88 void EnableEncodedFrameRecording(const std::vector<rtc::PlatformFile>& files,
89 size_t byte_limit) override; 89 size_t byte_limit) override;
90 90
91 RtpStateMap StopPermanentlyAndGetRtpStates(); 91 RtpStateMap StopPermanentlyAndGetRtpStates();
92 92
93 void SetTransportOverhead(int transport_overhead_per_packet);
94
93 private: 95 private:
94 class ConstructionTask; 96 class ConstructionTask;
95 class DestructAndGetRtpStateTask; 97 class DestructAndGetRtpStateTask;
96 98
97 rtc::ThreadChecker thread_checker_; 99 rtc::ThreadChecker thread_checker_;
98 rtc::TaskQueue* const worker_queue_; 100 rtc::TaskQueue* const worker_queue_;
99 rtc::Event thread_sync_event_; 101 rtc::Event thread_sync_event_;
100 102
101 SendStatisticsProxy stats_proxy_; 103 SendStatisticsProxy stats_proxy_;
102 const VideoSendStream::Config config_; 104 const VideoSendStream::Config config_;
103 std::unique_ptr<VideoSendStreamImpl> send_stream_; 105 std::unique_ptr<VideoSendStreamImpl> send_stream_;
104 std::unique_ptr<ViEEncoder> vie_encoder_; 106 std::unique_ptr<ViEEncoder> vie_encoder_;
105 }; 107 };
106 108
107 } // namespace internal 109 } // namespace internal
108 } // namespace webrtc 110 } // namespace webrtc
109 111
110 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ 112 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/test/mock_voe_channel_proxy.h ('k') | webrtc/video/video_send_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698