| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // Interface to the rtp receiver. | 5 // Interface to the rtp receiver. |
| 6 | 6 |
| 7 #ifndef MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_H_ | 7 #ifndef MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_H_ |
| 8 #define MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_H_ | 8 #define MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_H_ |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 bool ReceivedPacket(const uint8* packet, size_t length); | 41 bool ReceivedPacket(const uint8* packet, size_t length); |
| 42 | 42 |
| 43 void GetStatistics(uint8* fraction_lost, | 43 void GetStatistics(uint8* fraction_lost, |
| 44 uint32* cumulative_lost, // 24 bits valid. | 44 uint32* cumulative_lost, // 24 bits valid. |
| 45 uint32* extended_high_sequence_number, | 45 uint32* extended_high_sequence_number, |
| 46 uint32* jitter); | 46 uint32* jitter); |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 scoped_ptr<ReceiverStats> stats_; | 49 scoped_ptr<ReceiverStats> stats_; |
| 50 scoped_ptr<RtpParser> parser_; | 50 scoped_ptr<RtpParser> parser_; |
| 51 |
| 52 DISALLOW_COPY_AND_ASSIGN(RtpReceiver); |
| 51 }; | 53 }; |
| 52 | 54 |
| 53 } // namespace cast | 55 } // namespace cast |
| 54 } // namespace media | 56 } // namespace media |
| 55 | 57 |
| 56 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_H_ | 58 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_H_ |
| OLD | NEW |