| OLD | NEW |
| 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_TRANSPORT_CAST_TRANSPORT_CONFIG_H_ | 5 #ifndef MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_CONFIG_H_ |
| 6 #define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_CONFIG_H_ | 6 #define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_CONFIG_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 // RTP. | 60 // RTP. |
| 61 RtpConfig audio_rtp_config; | 61 RtpConfig audio_rtp_config; |
| 62 RtpConfig video_rtp_config; | 62 RtpConfig video_rtp_config; |
| 63 | 63 |
| 64 int audio_frequency; | 64 int audio_frequency; |
| 65 int audio_channels; | 65 int audio_channels; |
| 66 | 66 |
| 67 std::string aes_key; // Binary string of size kAesKeySize. | 67 std::string aes_key; // Binary string of size kAesKeySize. |
| 68 std::string aes_iv_mask; // Binary string of size kAesBlockSize. | 68 std::string aes_iv_mask; // Binary string of size kAesBlockSize. |
| 69 |
| 70 bool enable_raw_event_logging; |
| 69 }; | 71 }; |
| 70 | 72 |
| 71 struct EncodedVideoFrame { | 73 struct EncodedVideoFrame { |
| 72 EncodedVideoFrame(); | 74 EncodedVideoFrame(); |
| 73 ~EncodedVideoFrame(); | 75 ~EncodedVideoFrame(); |
| 74 | 76 |
| 75 VideoCodec codec; | 77 VideoCodec codec; |
| 76 bool key_frame; | 78 bool key_frame; |
| 77 uint32 frame_id; | 79 uint32 frame_id; |
| 78 uint32 last_referenced_frame_id; | 80 uint32 last_referenced_frame_id; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 lhs.rtp_timestamp == rhs.rtp_timestamp && | 175 lhs.rtp_timestamp == rhs.rtp_timestamp && |
| 174 lhs.send_packet_count == rhs.send_packet_count && | 176 lhs.send_packet_count == rhs.send_packet_count && |
| 175 lhs.send_octet_count == rhs.send_octet_count; | 177 lhs.send_octet_count == rhs.send_octet_count; |
| 176 } | 178 } |
| 177 | 179 |
| 178 } // namespace transport | 180 } // namespace transport |
| 179 } // namespace cast | 181 } // namespace cast |
| 180 } // namespace media | 182 } // namespace media |
| 181 | 183 |
| 182 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_CONFIG_H_ | 184 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_CONFIG_H_ |
| OLD | NEW |