| OLD | NEW |
| 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_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_ | 5 #ifndef MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_ |
| 6 #define MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_ | 6 #define MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "media/cast/cast_config.h" | 9 #include "media/cast/cast_config.h" |
| 10 #include "media/cast/net/rtcp/rtcp_defines.h" | 10 #include "media/cast/net/rtcp/rtcp_defines.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 uint16 sequence_number; | 21 uint16 sequence_number; |
| 22 uint32 rtp_timestamp; | 22 uint32 rtp_timestamp; |
| 23 uint32 sender_ssrc; | 23 uint32 sender_ssrc; |
| 24 | 24 |
| 25 // Elements from Cast header (at beginning of RTP payload). | 25 // Elements from Cast header (at beginning of RTP payload). |
| 26 bool is_key_frame; | 26 bool is_key_frame; |
| 27 uint32 frame_id; | 27 uint32 frame_id; |
| 28 uint16 packet_id; | 28 uint16 packet_id; |
| 29 uint16 max_packet_id; | 29 uint16 max_packet_id; |
| 30 uint32 reference_frame_id; | 30 uint32 reference_frame_id; |
| 31 |
| 32 uint16 new_playout_delay_ms; |
| 31 }; | 33 }; |
| 32 | 34 |
| 33 class RtpPayloadFeedback { | 35 class RtpPayloadFeedback { |
| 34 public: | 36 public: |
| 35 virtual void CastFeedback(const RtcpCastMessage& cast_feedback) = 0; | 37 virtual void CastFeedback(const RtcpCastMessage& cast_feedback) = 0; |
| 36 | 38 |
| 37 protected: | 39 protected: |
| 38 virtual ~RtpPayloadFeedback(); | 40 virtual ~RtpPayloadFeedback(); |
| 39 }; | 41 }; |
| 40 | 42 |
| 41 } // namespace cast | 43 } // namespace cast |
| 42 } // namespace media | 44 } // namespace media |
| 43 | 45 |
| 44 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_ | 46 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_ |
| OLD | NEW |