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

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

Issue 2067673004: Style cleanups in RtpSender. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: . Created 4 years, 4 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
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 bool Sending() const override; 106 bool Sending() const override;
107 107
108 // Drops or relays media packets. 108 // Drops or relays media packets.
109 void SetSendingMediaStatus(bool sending) override; 109 void SetSendingMediaStatus(bool sending) override;
110 110
111 bool SendingMedia() const override; 111 bool SendingMedia() const override;
112 112
113 // Used by the codec module to deliver a video or audio frame for 113 // Used by the codec module to deliver a video or audio frame for
114 // packetization. 114 // packetization.
115 int32_t SendOutgoingData(FrameType frame_type, 115 int32_t SendOutgoingData(
116 int8_t payload_type, 116 FrameType frame_type,
117 uint32_t time_stamp, 117 int8_t payload_type,
118 int64_t capture_time_ms, 118 uint32_t time_stamp,
119 const uint8_t* payload_data, 119 int64_t capture_time_ms,
120 size_t payload_size, 120 const uint8_t* payload_data,
121 const RTPFragmentationHeader* fragmentation = NULL, 121 size_t payload_size,
122 const RTPVideoHeader* rtp_video_hdr = NULL) override; 122 const RTPFragmentationHeader* fragmentation = NULL,
123 const RTPVideoHeader* rtp_video_header = NULL) override;
123 124
124 bool TimeToSendPacket(uint32_t ssrc, 125 bool TimeToSendPacket(uint32_t ssrc,
125 uint16_t sequence_number, 126 uint16_t sequence_number,
126 int64_t capture_time_ms, 127 int64_t capture_time_ms,
127 bool retransmission, 128 bool retransmission,
128 int probe_cluster_id) override; 129 int probe_cluster_id) override;
129 130
130 // Returns the number of padding bytes actually sent, which can be more or 131 // Returns the number of padding bytes actually sent, which can be more or
131 // less than |bytes|. 132 // less than |bytes|.
132 size_t TimeToSendPadding(size_t bytes, int probe_cluster_id) override; 133 size_t TimeToSendPadding(size_t bytes, int probe_cluster_id) override;
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 PacketLossStats receive_loss_stats_; 366 PacketLossStats receive_loss_stats_;
366 367
367 // The processed RTT from RtcpRttStats. 368 // The processed RTT from RtcpRttStats.
368 rtc::CriticalSection critical_section_rtt_; 369 rtc::CriticalSection critical_section_rtt_;
369 int64_t rtt_ms_; 370 int64_t rtt_ms_;
370 }; 371 };
371 372
372 } // namespace webrtc 373 } // namespace webrtc
373 374
374 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 375 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/mock/mock_rtp_payload_strategy.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698