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

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

Issue 126843003: Revert of Cast:Adding cast_transport_config and cleaning up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/rtcp/test_rtcp_packet_builder.cc ('k') | media/cast/test/encode_decode_test.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_PARSER_RTP_PARSER_H_ 5 #ifndef MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_RTP_PARSER_H_
6 #define MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_RTP_PARSER_H_ 6 #define MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_RTP_PARSER_H_
7 7
8 #include "media/cast/rtp_receiver/rtp_receiver_defines.h" 8 #include "media/cast/rtp_receiver/rtp_receiver_defines.h"
9 #include "media/cast/transport/cast_transport_defines.h" 9 #include "media/cast/transport/cast_transport_defines.h"
10 10
11 namespace media { 11 namespace media {
12 namespace cast { 12 namespace cast {
13 13
14 class RtpData; 14 class RtpData;
15 15
16 struct RtpParserConfig { 16 struct RtpParserConfig {
17 RtpParserConfig() { 17 RtpParserConfig() {
18 ssrc = 0; 18 ssrc = 0;
19 payload_type = 0; 19 payload_type = 0;
20 audio_channels = 0; 20 audio_channels = 0;
21 } 21 }
22 22
23 uint32 ssrc; 23 uint32 ssrc;
24 int payload_type; 24 int payload_type;
25 transport::AudioCodec audio_codec; 25 AudioCodec audio_codec;
26 transport::VideoCodec video_codec; 26 VideoCodec video_codec;
27 int audio_channels; 27 int audio_channels;
28 }; 28 };
29 29
30 class RtpParser { 30 class RtpParser {
31 public: 31 public:
32 RtpParser(RtpData* incoming_payload_callback, 32 RtpParser(RtpData* incoming_payload_callback,
33 const RtpParserConfig parser_config); 33 const RtpParserConfig parser_config);
34 34
35 ~RtpParser(); 35 ~RtpParser();
36 36
(...skipping 10 matching lines...) Expand all
47 RtpData* data_callback_; 47 RtpData* data_callback_;
48 RtpParserConfig parser_config_; 48 RtpParserConfig parser_config_;
49 transport::FrameIdWrapHelper frame_id_wrap_helper_; 49 transport::FrameIdWrapHelper frame_id_wrap_helper_;
50 transport::FrameIdWrapHelper reference_frame_id_wrap_helper_; 50 transport::FrameIdWrapHelper reference_frame_id_wrap_helper_;
51 }; 51 };
52 52
53 } // namespace cast 53 } // namespace cast
54 } // namespace media 54 } // namespace media
55 55
56 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_RTP_PARSER_H_ 56 #endif // MEDIA_CAST_RTP_RECEIVER_RTP_PARSER_RTP_PARSER_H_
OLDNEW
« no previous file with comments | « media/cast/rtcp/test_rtcp_packet_builder.cc ('k') | media/cast/test/encode_decode_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698