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
3 // found in the LICENSE file.
5 #ifndef MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_
6 #define MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_
8 #include "base/basictypes.h"
9 #include "media/cast/cast_config.h"
10 #include "media/cast/net/rtcp/rtcp_defines.h"
15 struct RtpCastHeader
{
18 // Elements from RTP packet header.
21 uint16 sequence_number
;
25 // Elements from Cast header (at beginning of RTP payload).
30 uint32 reference_frame_id
;
32 uint16 new_playout_delay_ms
;
35 class RtpPayloadFeedback
{
37 virtual void CastFeedback(const RtcpCastMessage
& cast_feedback
) = 0;
40 virtual ~RtpPayloadFeedback();
46 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_