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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_sender_video.h

Issue 2914493002: Remove RTPSenderVideo::FecPacketOverhead() since it is unused. (Closed)
Patch Set: Stop depending on other CL. Created 3 years, 6 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 | « no previous file | no next file » | 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 25 matching lines...) Expand all
36 36
37 class RTPSenderVideo { 37 class RTPSenderVideo {
38 public: 38 public:
39 RTPSenderVideo(Clock* clock, 39 RTPSenderVideo(Clock* clock,
40 RTPSender* rtpSender, 40 RTPSender* rtpSender,
41 FlexfecSender* flexfec_sender); 41 FlexfecSender* flexfec_sender);
42 virtual ~RTPSenderVideo(); 42 virtual ~RTPSenderVideo();
43 43
44 virtual RtpVideoCodecTypes VideoCodecType() const; 44 virtual RtpVideoCodecTypes VideoCodecType() const;
45 45
46 size_t FecPacketOverhead() const {
47 rtc::CritScope cs(&crit_);
48 return CalculateFecPacketOverhead();
49 }
50
51 static RtpUtility::Payload* CreateVideoPayload( 46 static RtpUtility::Payload* CreateVideoPayload(
52 const char payload_name[RTP_PAYLOAD_NAME_SIZE], 47 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
53 int8_t payload_type); 48 int8_t payload_type);
54 49
55 bool SendVideo(RtpVideoCodecTypes video_type, 50 bool SendVideo(RtpVideoCodecTypes video_type,
56 FrameType frame_type, 51 FrameType frame_type,
57 int8_t payload_type, 52 int8_t payload_type,
58 uint32_t capture_timestamp, 53 uint32_t capture_timestamp,
59 int64_t capture_time_ms, 54 int64_t capture_time_ms,
60 const uint8_t* payload_data, 55 const uint8_t* payload_data,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // and any padding overhead. 130 // and any padding overhead.
136 RateStatistics fec_bitrate_ GUARDED_BY(stats_crit_); 131 RateStatistics fec_bitrate_ GUARDED_BY(stats_crit_);
137 // Bitrate used for video payload and RTP headers. 132 // Bitrate used for video payload and RTP headers.
138 RateStatistics video_bitrate_ GUARDED_BY(stats_crit_); 133 RateStatistics video_bitrate_ GUARDED_BY(stats_crit_);
139 OneTimeEvent first_frame_sent_; 134 OneTimeEvent first_frame_sent_;
140 }; 135 };
141 136
142 } // namespace webrtc 137 } // namespace webrtc
143 138
144 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_ 139 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_VIDEO_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698