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

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

Issue 126843003: Revert of Cast:Adding cast_transport_config and cleaning up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/receiver.cc ('k') | media/cast/transport/cast_transport.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/sender.cc
diff --git a/media/cast/test/sender.cc b/media/cast/test/sender.cc
index 5cd93e4cf5a582c46105ad47630101bf9f440a39..2e2e7b6130daa4aef0dd243286cdf9e1f501dda6 100644
--- a/media/cast/test/sender.cc
+++ b/media/cast/test/sender.cc
@@ -128,7 +128,7 @@
audio_config.frequency = kAudioSamplingFrequency;
audio_config.channels = kAudioChannels;
audio_config.bitrate = 64000;
- audio_config.codec = transport::kOpus;
+ audio_config.codec = kOpus;
return audio_config;
}
@@ -178,7 +178,7 @@
video_config.min_qp = 4;
video_config.max_qp = 40;
video_config.max_frame_rate = 30;
- video_config.codec = transport::kVp8;
+ video_config.codec = kVp8;
video_config.max_number_of_video_buffers_used = 1;
video_config.number_of_cores = 1;
return video_config;
@@ -315,7 +315,6 @@
NULL,
video_thread.message_loop_proxy(),
NULL,
- main_thread.message_loop_proxy(),
media::cast::GetDefaultCastLoggingConfig()));
media::cast::AudioSenderConfig audio_config =
@@ -333,8 +332,7 @@
NULL, // VideoEncoderController.
transport->packet_sender()));
- media::cast::transport::PacketReceiver* packet_receiver =
- cast_sender->packet_receiver();
+ media::cast::PacketReceiver* packet_receiver = cast_sender->packet_receiver();
int send_to_port, receive_port;
media::cast::GetPorts(&send_to_port, &receive_port);
« no previous file with comments | « media/cast/test/receiver.cc ('k') | media/cast/transport/cast_transport.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698