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

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

Issue 2354333004: RTCPReceiver store cname as std::string. (Closed)
Patch Set: Remove RTCPCnameInformation struct Created 4 years, 2 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/modules/rtp_rtcp/source/rtcp_receiver.cc ('k') | 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 uint32_t unique_requests() const { return unique_requests_; } 42 uint32_t unique_requests() const { return unique_requests_; }
43 43
44 private: 44 private:
45 uint16_t max_sequence_number_; 45 uint16_t max_sequence_number_;
46 uint32_t requests_; 46 uint32_t requests_;
47 uint32_t unique_requests_; 47 uint32_t unique_requests_;
48 }; 48 };
49 49
50 uint32_t MidNtp(uint32_t ntp_sec, uint32_t ntp_frac); 50 uint32_t MidNtp(uint32_t ntp_sec, uint32_t ntp_frac);
51 51
52 // CNAME
53 struct RTCPCnameInformation {
54 char name[RTCP_CNAME_SIZE];
55 };
56 struct RTCPPacketRR { 52 struct RTCPPacketRR {
57 uint32_t SenderSSRC; 53 uint32_t SenderSSRC;
58 uint8_t NumberOfReportBlocks; 54 uint8_t NumberOfReportBlocks;
59 }; 55 };
60 struct RTCPPacketSR { 56 struct RTCPPacketSR {
61 uint32_t SenderSSRC; 57 uint32_t SenderSSRC;
62 uint8_t NumberOfReportBlocks; 58 uint8_t NumberOfReportBlocks;
63 59
64 // sender info 60 // sender info
65 uint32_t NTPMostSignificant; 61 uint32_t NTPMostSignificant;
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 uint8_t* const _ptrBegin; 481 uint8_t* const _ptrBegin;
486 uint8_t* const _ptrEnd; 482 uint8_t* const _ptrEnd;
487 483
488 uint8_t* _ptrBlock; 484 uint8_t* _ptrBlock;
489 485
490 RtcpCommonHeader _header; 486 RtcpCommonHeader _header;
491 }; 487 };
492 } // namespace RTCPUtility 488 } // namespace RTCPUtility
493 } // namespace webrtc 489 } // namespace webrtc
494 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_UTILITY_H_ 490 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_UTILITY_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698