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

Side by Side Diff: media/cast/transport/cast_transport_config.h

Issue 178073004: Cast: IPC from browser to renderer to send packet events from transport to cast library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed hubbe's comments Created 6 years, 10 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
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_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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698