| 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 #ifndef MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_RTP_PARSER_H_ | 5 #ifndef MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_RTP_PARSER_H_ |
| 6 #define MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_RTP_PARSER_H_ | 6 #define MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_RTP_PARSER_H_ |
| 7 | 7 |
| 8 #include "media/cast/net/cast_net_defines.h" | |
| 9 #include "media/cast/rtp_receiver/rtp_receiver_defines.h" | 8 #include "media/cast/rtp_receiver/rtp_receiver_defines.h" |
| 9 #include "media/cast/transport/cast_transport_defines.h" |
| 10 | 10 |
| 11 namespace media { | 11 namespace media { |
| 12 namespace cast { | 12 namespace cast { |
| 13 | 13 |
| 14 class RtpData; | 14 class RtpData; |
| 15 | 15 |
| 16 struct RtpParserConfig { | 16 struct RtpParserConfig { |
| 17 RtpParserConfig() { | 17 RtpParserConfig() { |
| 18 ssrc = 0; | 18 ssrc = 0; |
| 19 payload_type = 0; | 19 payload_type = 0; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 bool ParseCommon(const uint8* packet, size_t length, | 41 bool ParseCommon(const uint8* packet, size_t length, |
| 42 RtpCastHeader* rtp_header); | 42 RtpCastHeader* rtp_header); |
| 43 | 43 |
| 44 bool ParseCast(const uint8* packet, size_t length, | 44 bool ParseCast(const uint8* packet, size_t length, |
| 45 RtpCastHeader* rtp_header); | 45 RtpCastHeader* rtp_header); |
| 46 | 46 |
| 47 RtpData* data_callback_; | 47 RtpData* data_callback_; |
| 48 RtpParserConfig parser_config_; | 48 RtpParserConfig parser_config_; |
| 49 FrameIdWrapHelper frame_id_wrap_helper_; | 49 transport::FrameIdWrapHelper frame_id_wrap_helper_; |
| 50 FrameIdWrapHelper reference_frame_id_wrap_helper_; | 50 transport::FrameIdWrapHelper reference_frame_id_wrap_helper_; |
| 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_PARSER_RTP_PARSER_H_ | 56 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_RTP_PARSER_H_ |
| OLD | NEW |