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

Side by Side Diff: media/cast/net/rtp/rtp_packet_builder.h

Issue 1377273003: cast: cleanup rtp header and parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years, 2 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
« no previous file with comments | « media/cast/net/rtp/rtp_header_parser.cc ('k') | media/cast/net/rtp/rtp_packet_builder.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 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 // Test helper class that builds rtp packets. 5 // Test helper class that builds rtp packets.
6 6
7 #ifndef MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_TEST_RTP_PACKET_BUILDER_H_ 7 #ifndef MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_
8 #define MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_TEST_RTP_PACKET_BUILDER_H_ 8 #define MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_
9 9
10 #include "media/cast/net/rtp/rtp_receiver_defines.h" 10 #include "media/cast/net/rtp/rtp_defines.h"
11 11
12 namespace media { 12 namespace media {
13 namespace cast { 13 namespace cast {
14 14
15 // TODO(miu): Consolidate with RtpPacketizer as a single Cast packet 15 // TODO(miu): Consolidate with RtpPacketizer as a single Cast packet
16 // serialization implementation. 16 // serialization implementation.
17 class RtpPacketBuilder { 17 class RtpPacketBuilder {
18 public: 18 public:
19 RtpPacketBuilder(); 19 RtpPacketBuilder();
20 void SetKeyFrame(bool is_key); 20 void SetKeyFrame(bool is_key);
(...skipping 21 matching lines...) Expand all
42 42
43 void BuildCastHeader(uint8* data, uint32 data_length); 43 void BuildCastHeader(uint8* data, uint32 data_length);
44 void BuildCommonHeader(uint8* data, uint32 data_length); 44 void BuildCommonHeader(uint8* data, uint32 data_length);
45 45
46 DISALLOW_COPY_AND_ASSIGN(RtpPacketBuilder); 46 DISALLOW_COPY_AND_ASSIGN(RtpPacketBuilder);
47 }; 47 };
48 48
49 } // namespace cast 49 } // namespace cast
50 } // namespace media 50 } // namespace media
51 51
52 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_TEST_RTP_PACKET_BUILDER_H_ 52 #endif // MEDIA_CAST_NET_RTP_RTP_PACKET_BUILDER_H_
OLDNEW
« no previous file with comments | « media/cast/net/rtp/rtp_header_parser.cc ('k') | media/cast/net/rtp/rtp_packet_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698