Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: media/cast/rtp_receiver/rtp_receiver_defines.h

Issue 100823015: Cast: move net->transport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating transport callback Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/cast/rtp_receiver/rtp_receiver.gyp ('k') | media/cast/test/receiver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_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/rtcp/rtcp_defines.h" 10 #include "media/cast/rtcp/rtcp_defines.h"
11 #include "third_party/webrtc/modules/interface/module_common_types.h" 11 #include "third_party/webrtc/modules/interface/module_common_types.h"
12 12
13 namespace media { 13 namespace media {
14 namespace cast { 14 namespace cast {
15 15
16 const uint8 kRtpMarkerBitMask = 0x80;
17
18 struct RtpCastHeader { 16 struct RtpCastHeader {
19 RtpCastHeader() { 17 RtpCastHeader() {
20 is_key_frame = false; 18 is_key_frame = false;
21 frame_id = 0; 19 frame_id = 0;
22 packet_id = 0; 20 packet_id = 0;
23 max_packet_id = 0; 21 max_packet_id = 0;
24 is_reference = false; 22 is_reference = false;
25 reference_frame_id = 0; 23 reference_frame_id = 0;
26 } 24 }
27 webrtc::WebRtcRTPHeader webrtc; 25 webrtc::WebRtcRTPHeader webrtc;
(...skipping 11 matching lines...) Expand all
39 virtual void CastFeedback(const RtcpCastMessage& cast_feedback) = 0; 37 virtual void CastFeedback(const RtcpCastMessage& cast_feedback) = 0;
40 38
41 protected: 39 protected:
42 virtual ~RtpPayloadFeedback() {} 40 virtual ~RtpPayloadFeedback() {}
43 }; 41 };
44 42
45 } // namespace cast 43 } // namespace cast
46 } // namespace media 44 } // namespace media
47 45
48 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_ 46 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_RECEIVER_DEFINES_H_
OLDNEW
« no previous file with comments | « media/cast/rtp_receiver/rtp_receiver.gyp ('k') | media/cast/test/receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698