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

Unified Diff: trunk/src/media/cast/cast_receiver_impl.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/cast_receiver_impl.h ('k') | trunk/src/media/cast/cast_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/cast/cast_receiver_impl.cc
===================================================================
--- trunk/src/media/cast/cast_receiver_impl.cc (revision 243647)
+++ trunk/src/media/cast/cast_receiver_impl.cc (working copy)
@@ -66,7 +66,7 @@
};
// The video and audio receivers should only be called from the main thread.
-class LocalPacketReceiver : public transport::PacketReceiver {
+class LocalPacketReceiver : public PacketReceiver {
public:
LocalPacketReceiver(scoped_refptr<CastEnvironment> cast_environment,
AudioReceiver* audio_receiver,
@@ -149,9 +149,7 @@
const AudioReceiverConfig& audio_config,
const VideoReceiverConfig& video_config,
PacketSender* const packet_sender)
- : pacer_(cast_environment->Clock(), packet_sender,
- cast_environment->GetMessageTaskRunnerForThread(
- CastEnvironment::TRANSPORT)),
+ : pacer_(cast_environment, packet_sender),
audio_receiver_(cast_environment, audio_config, &pacer_),
video_receiver_(cast_environment, video_config, &pacer_),
frame_receiver_(new LocalFrameReceiver(cast_environment,
@@ -165,7 +163,7 @@
CastReceiverImpl::~CastReceiverImpl() {}
-scoped_refptr<transport::PacketReceiver> CastReceiverImpl::packet_receiver() {
+scoped_refptr<PacketReceiver> CastReceiverImpl::packet_receiver() {
return packet_receiver_;
}
« no previous file with comments | « trunk/src/media/cast/cast_receiver_impl.h ('k') | trunk/src/media/cast/cast_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698