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

Side by Side Diff: media/cast/net/cast_transport_config.h

Issue 1520613004: cast: Split Rtcp into two for sender and receiver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timestamp
Patch Set: Rebased Created 4 years, 11 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 | « media/cast/cast.gyp ('k') | media/cast/net/cast_transport_sender_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ 5 #ifndef MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_
6 #define MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ 6 #define MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // Returns the number of bytes ever sent. 138 // Returns the number of bytes ever sent.
139 virtual int64_t GetBytesSent() = 0; 139 virtual int64_t GetBytesSent() = 0;
140 140
141 virtual ~PacketSender() {} 141 virtual ~PacketSender() {}
142 }; 142 };
143 143
144 struct RtcpSenderInfo { 144 struct RtcpSenderInfo {
145 RtcpSenderInfo(); 145 RtcpSenderInfo();
146 ~RtcpSenderInfo(); 146 ~RtcpSenderInfo();
147 // First three members are used for lipsync. 147 // First three members are used for lipsync.
148 // First two members are used for rtt. 148 // Last two members are used for rtt.
149 uint32_t ntp_seconds; 149 uint32_t ntp_seconds;
150 uint32_t ntp_fraction; 150 uint32_t ntp_fraction;
151 RtpTimeTicks rtp_timestamp; 151 RtpTimeTicks rtp_timestamp;
152 uint32_t send_packet_count; 152 uint32_t send_packet_count;
153 size_t send_octet_count; 153 size_t send_octet_count;
154 }; 154 };
155 155
156 struct RtcpReportBlock { 156 struct RtcpReportBlock {
157 RtcpReportBlock(); 157 RtcpReportBlock();
158 ~RtcpReportBlock(); 158 ~RtcpReportBlock();
(...skipping 19 matching lines...) Expand all
178 lhs.ntp_fraction == rhs.ntp_fraction && 178 lhs.ntp_fraction == rhs.ntp_fraction &&
179 lhs.rtp_timestamp == rhs.rtp_timestamp && 179 lhs.rtp_timestamp == rhs.rtp_timestamp &&
180 lhs.send_packet_count == rhs.send_packet_count && 180 lhs.send_packet_count == rhs.send_packet_count &&
181 lhs.send_octet_count == rhs.send_octet_count; 181 lhs.send_octet_count == rhs.send_octet_count;
182 } 182 }
183 183
184 } // namespace cast 184 } // namespace cast
185 } // namespace media 185 } // namespace media
186 186
187 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_ 187 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_CONFIG_H_
OLDNEW
« no previous file with comments | « media/cast/cast.gyp ('k') | media/cast/net/cast_transport_sender_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698