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" |
11 #include "media/cast/cast_config.h" | 11 #include "media/cast/cast_config.h" |
12 #include "media/cast/rtcp/rtcp.h" | 12 #include "media/cast/rtcp/rtcp.h" |
13 #include "media/cast/rtp_common/rtp_defines.h" | 13 #include "media/cast/rtp_receiver/rtp_receiver_defines.h" |
14 | 14 |
15 namespace media { | 15 namespace media { |
16 namespace cast { | 16 namespace cast { |
17 | 17 |
18 class RtpData { | 18 class RtpData { |
19 public: | 19 public: |
20 virtual void OnReceivedPayloadData(const uint8* payload_data, | 20 virtual void OnReceivedPayloadData(const uint8* payload_data, |
21 size_t payload_size, | 21 size_t payload_size, |
22 const RtpCastHeader* rtp_header) = 0; | 22 const RtpCastHeader* rtp_header) = 0; |
23 | 23 |
(...skipping 23 matching lines...) Expand all Loading... |
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 }; | 51 }; |
52 | 52 |
53 } // namespace cast | 53 } // namespace cast |
54 } // namespace media | 54 } // namespace media |
55 | 55 |
56 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_H_ | 56 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_H_ |
OLD | NEW |