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

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

Issue 129113003: Revert 243647 "Cast:Adding cast_transport_config and cleaning up" (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/media/cast/test/receiver.cc ('k') | trunk/src/media/cast/transport/cast_transport.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/cast/test/sender.cc
===================================================================
--- trunk/src/media/cast/test/sender.cc (revision 243647)
+++ trunk/src/media/cast/test/sender.cc (working copy)
@@ -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 | « trunk/src/media/cast/test/receiver.cc ('k') | trunk/src/media/cast/transport/cast_transport.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698