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

Unified Diff: chrome/renderer/media/cast_session_delegate.cc

Issue 2133223003: Revert of Refactoring: Merge VideoSenderConfig and AudioSenderConfig. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: chrome/renderer/media/cast_session_delegate.cc
diff --git a/chrome/renderer/media/cast_session_delegate.cc b/chrome/renderer/media/cast_session_delegate.cc
index 7645619c20fe9b74fc12b5e575d15afe9aa0f988..eddf8e34102b03abf1c55bf63c17a8ce2ac4221c 100644
--- a/chrome/renderer/media/cast_session_delegate.cc
+++ b/chrome/renderer/media/cast_session_delegate.cc
@@ -29,9 +29,10 @@
#include "media/cast/net/cast_transport.h"
#include "media/cast/net/cast_transport_config.h"
+using media::cast::AudioSenderConfig;
using media::cast::CastEnvironment;
using media::cast::CastSender;
-using media::cast::FrameSenderConfig;
+using media::cast::VideoSenderConfig;
static base::LazyInstance<CastThreads> g_cast_threads =
LAZY_INSTANCE_INITIALIZER;
@@ -116,7 +117,7 @@
}
void CastSessionDelegate::StartAudio(
- const FrameSenderConfig& config,
+ const AudioSenderConfig& config,
const AudioFrameInputAvailableCallback& callback,
const ErrorCallback& error_callback) {
DCHECK(io_task_runner_->BelongsToCurrentThread());
@@ -134,7 +135,7 @@
}
void CastSessionDelegate::StartVideo(
- const FrameSenderConfig& config,
+ const VideoSenderConfig& config,
const VideoFrameInputAvailableCallback& callback,
const ErrorCallback& error_callback,
const media::cast::CreateVideoEncodeAcceleratorCallback& create_vea_cb,
« no previous file with comments | « chrome/renderer/media/cast_session_delegate.h ('k') | chrome/test/data/extensions/api_test/cast_streaming/rtp_stream_error.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698