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
3 // found in the LICENSE file.
5 #ifndef MEDIA_CAST_RTP_COMMON_RTP_DEFINES_H_
6 #define MEDIA_CAST_RTP_COMMON_RTP_DEFINES_H_
8 #include "base/basictypes.h"
9 #include "media/cast/cast_config.h"
10 #include "media/cast/rtcp/rtcp_defines.h"
11 #include "third_party/webrtc/modules/interface/module_common_types.h"
16 const uint8 kRtpMarkerBitMask
= 0x80;
18 struct RtpCastHeader
{
25 reference_frame_id
= 0;
27 webrtc::WebRtcRTPHeader webrtc
;
32 bool is_reference
; // Set to true if the previous frame is not available,
33 // and the reference frame id is available.
34 uint8 reference_frame_id
;
37 class RtpPayloadFeedback
{
39 virtual void CastFeedback(const RtcpCastMessage
& cast_feedback
) = 0;
42 virtual ~RtpPayloadFeedback() {}
48 #endif // MEDIA_CAST_RTP_COMMON_RTP_DEFINES_H_