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

Side by Side Diff: media/cast/net/rtp_sender/rtp_packetizer/rtp_packetizer_config.h

Issue 112133002: Cast:Moving netwrok sender related code to a designated folder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
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 CAST_RTP_SENDER_RTP_PACKETIZER_RTP_PACKETIZER_CONFIG_H_ 5 #ifndef CAST_NET_RTP_SENDER_RTP_PACKETIZER_RTP_PACKETIZER_CONFIG_H_
6 #define CAST_RTP_SENDER_RTP_PACKETIZER_RTP_PACKETIZER_CONFIG_H_ 6 #define CAST_NET_RTP_SENDER_RTP_PACKETIZER_RTP_PACKETIZER_CONFIG_H_
7 7
8 #include "media/cast/cast_config.h" 8 #include "media/cast/cast_config.h"
9 #include "media/cast/rtp_common/rtp_defines.h" 9 #include "media/cast/rtp_receiver/rtp_receiver_defines.h"
10 10
11 namespace media { 11 namespace media {
12 namespace cast { 12 namespace cast {
13 13
14 struct RtpPacketizerConfig { 14 struct RtpPacketizerConfig {
15 RtpPacketizerConfig(); 15 RtpPacketizerConfig();
16 16
17 // General. 17 // General.
18 bool audio; 18 bool audio;
19 int payload_type; 19 int payload_type;
20 uint16 max_payload_length; 20 uint16 max_payload_length;
21 uint16 sequence_number; 21 uint16 sequence_number;
22 uint32 rtp_timestamp; 22 uint32 rtp_timestamp;
23 int frequency; 23 int frequency;
24 24
25 // SSRC. 25 // SSRC.
26 unsigned int ssrc; 26 unsigned int ssrc;
27 27
28 // Video. 28 // Video.
29 VideoCodec video_codec; 29 VideoCodec video_codec;
30 30
31 // Audio. 31 // Audio.
32 uint8 channels; 32 uint8 channels;
33 AudioCodec audio_codec; 33 AudioCodec audio_codec;
34 }; 34 };
35 35
36 } // namespace cast 36 } // namespace cast
37 } // namespace media 37 } // namespace media
38 38
39 #endif // CAST_RTP_SENDER_RTP_PACKETIZER_RTP_PACKETIZER_CONFIG_H_ 39 #endif // CAST_NET_RTP_SENDER_RTP_PACKETIZER_RTP_PACKETIZER_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698