- add sources.
[platform/framework/web/crosswalk.git] / src / media / cast / rtp_sender / rtp_packetizer / rtp_packetizer_config.h
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
3 // found in the LICENSE file.
4
5 #ifndef CAST_RTP_SENDER_RTP_PACKETIZER_RTP_PACKETIZER_CONFIG_H_
6 #define CAST_RTP_SENDER_RTP_PACKETIZER_RTP_PACKETIZER_CONFIG_H_
7
8 #include "media/cast/cast_config.h"
9 #include "media/cast/rtp_common/rtp_defines.h"
10
11 namespace media {
12 namespace cast {
13
14 struct RtpPacketizerConfig {
15   RtpPacketizerConfig();
16
17   // General.
18   bool audio;
19   int payload_type;
20   uint16 max_payload_length;
21   uint16 sequence_number;
22   uint32 rtp_timestamp;
23   int frequency;
24
25   // SSRC.
26   unsigned int ssrc;
27
28   // Video.
29   VideoCodec video_codec;
30
31   // Audio.
32   uint8 channels;
33   AudioCodec audio_codec;
34 };
35
36 }  // namespace cast
37 }  // namespace media
38
39 #endif  // CAST_RTP_SENDER_RTP_PACKETIZER_RTP_PACKETIZER_CONFIG_H_