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

Unified Diff: media/cast/test/receiver.cc

Issue 109413004: Cast:Adding cast_transport_config and cleaning up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/test/end2end_unittest.cc ('k') | media/cast/test/sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/receiver.cc
diff --git a/media/cast/test/receiver.cc b/media/cast/test/receiver.cc
index 0731c4f636a64cd2beee2e4a015833d7c2aa112f..dafda4ed9d7d3da50a578c464d87cea03ce2931b 100644
--- a/media/cast/test/receiver.cc
+++ b/media/cast/test/receiver.cc
@@ -112,7 +112,7 @@ AudioReceiverConfig GetAudioReceiverConfig() {
audio_config.use_external_decoder = false;
audio_config.frequency = 48000;
audio_config.channels = 2;
- audio_config.codec = kOpus;
+ audio_config.codec = transport::kOpus;
return audio_config;
}
@@ -133,7 +133,7 @@ VideoReceiverConfig GetVideoReceiverConfig() {
video_config.use_external_decoder = false;
VLOG(1) << "Using VP8";
- video_config.codec = kVp8;
+ video_config.codec = transport::kVp8;
return video_config;
}
@@ -232,6 +232,7 @@ int main(int argc, char** argv) {
audio_thread.message_loop_proxy(),
NULL,
video_thread.message_loop_proxy(),
+ main_thread.message_loop_proxy(),
media::cast::GetDefaultCastLoggingConfig()));
media::cast::AudioReceiverConfig audio_config =
@@ -249,7 +250,7 @@ int main(int argc, char** argv) {
video_config,
transport->packet_sender()));
- media::cast::PacketReceiver* packet_receiver =
+ media::cast::transport::PacketReceiver* packet_receiver =
cast_receiver->packet_receiver();
int send_to_port, receive_port;
« no previous file with comments | « media/cast/test/end2end_unittest.cc ('k') | media/cast/test/sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698