Index: media/cast/cast_config.h |
diff --git a/media/cast/cast_config.h b/media/cast/cast_config.h |
index 71073f43e5ba218636d1cd05a01565dbce8147b2..f1da39ca3eb28ef64b0eb7368e159a9f549458d7 100644 |
--- a/media/cast/cast_config.h |
+++ b/media/cast/cast_config.h |
@@ -53,6 +53,9 @@ struct AudioSenderConfig { |
int channels; |
int bitrate; |
AudioCodec codec; |
+ |
+ std::string aes_key; |
Alpha Left Google
2013/11/07 01:10:11
Please add a document saying these keys and mask a
pwestin
2013/11/07 17:16:04
Done.
|
+ std::string aes_iv_mask; |
}; |
struct VideoSenderConfig { |
@@ -83,6 +86,9 @@ struct VideoSenderConfig { |
int max_number_of_video_buffers_used; // Max value depend on codec. |
VideoCodec codec; |
int number_of_cores; |
+ |
+ std::string aes_key; |
+ std::string aes_iv_mask; |
}; |
struct AudioReceiverConfig { |
@@ -103,6 +109,9 @@ struct AudioReceiverConfig { |
int frequency; |
int channels; |
AudioCodec codec; |
+ |
+ std::string aes_key; |
+ std::string aes_iv_mask; |
}; |
struct VideoReceiverConfig { |
@@ -126,6 +135,9 @@ struct VideoReceiverConfig { |
// from catching up after a glitch. |
bool decoder_faster_than_max_frame_rate; |
VideoCodec codec; |
+ |
+ std::string aes_key; |
+ std::string aes_iv_mask; |
}; |
struct I420VideoPlane { |
@@ -150,7 +162,7 @@ struct EncodedVideoFrame { |
bool key_frame; |
uint8 frame_id; |
uint8 last_referenced_frame_id; |
- std::vector<uint8> data; |
+ std::string data; |
}; |
struct PcmAudioFrame { |
@@ -170,7 +182,7 @@ struct EncodedAudioFrame { |
uint8 frame_id; // Needed to release the frame. Not used send side. |
int samples; // Needed send side to advance the RTP timestamp. |
// Not used receive side. |
- std::vector<uint8> data; |
+ std::string data; |
}; |
typedef std::vector<uint8> Packet; |