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

Side by Side Diff: media/cast/net/rtp/rtp_parser.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_packetizer_unittest.cc ('k') | media/cast/net/rtp/rtp_parser.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 #ifndef MEDIA_CAST_NET_RTP_RTP_PARSER_H_ 5 #ifndef MEDIA_CAST_NET_RTP_RTP_PARSER_H_
6 #define MEDIA_CAST_NET_RTP_RTP_PARSER_H_ 6 #define MEDIA_CAST_NET_RTP_RTP_PARSER_H_
7 7
8 #include "media/cast/net/cast_transport_defines.h" 8 #include "media/cast/net/cast_transport_defines.h"
9 #include "media/cast/net/rtp/rtp_receiver_defines.h" 9 #include "media/cast/net/rtp/rtp_defines.h"
10 10
11 namespace media { 11 namespace media {
12 namespace cast { 12 namespace cast {
13 13
14 // TODO(miu): RtpParser and RtpPacketizer should be consolidated into a single 14 // TODO(miu): RtpParser and RtpPacketizer should be consolidated into a single
15 // module that handles all RTP/Cast packet serialization and deserialization 15 // module that handles all RTP/Cast packet serialization and deserialization
16 // throughout the media/cast library. 16 // throughout the media/cast library.
17 class RtpParser { 17 class RtpParser {
18 public: 18 public:
19 RtpParser(uint32 expected_sender_ssrc, uint8 expected_payload_type); 19 RtpParser(uint32 expected_sender_ssrc, uint8 expected_payload_type);
(...skipping 20 matching lines...) Expand all
40 const uint8 expected_payload_type_; 40 const uint8 expected_payload_type_;
41 FrameIdWrapHelper frame_id_wrap_helper_; 41 FrameIdWrapHelper frame_id_wrap_helper_;
42 42
43 DISALLOW_COPY_AND_ASSIGN(RtpParser); 43 DISALLOW_COPY_AND_ASSIGN(RtpParser);
44 }; 44 };
45 45
46 } // namespace cast 46 } // namespace cast
47 } // namespace media 47 } // namespace media
48 48
49 #endif // MEDIA_CAST_NET_RTP_RTP_PARSER_H_ 49 #endif // MEDIA_CAST_NET_RTP_RTP_PARSER_H_
OLDNEW
« no previous file with comments | « media/cast/net/rtp/rtp_packetizer_unittest.cc ('k') | media/cast/net/rtp/rtp_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698