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

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

Issue 2113783002: Refactoring: Merge VideoSenderConfig and AudioSenderConfig. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed mek's comment. 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
« no previous file with comments | « chrome/renderer/media/cast_session.cc ('k') | chrome/renderer/media/cast_session_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_session_delegate.h
diff --git a/chrome/renderer/media/cast_session_delegate.h b/chrome/renderer/media/cast_session_delegate.h
index dbe7626d9be4e9848b1ff4137104b96995211058..54cf520b5f29b6dca3b69c91dfd12c0c963146d2 100644
--- a/chrome/renderer/media/cast_session_delegate.h
+++ b/chrome/renderer/media/cast_session_delegate.h
@@ -104,17 +104,17 @@ class CastSessionDelegate : public CastSessionDelegateBase {
// deliver any data between calling the two methods.
// It's OK to call only one of the two methods.
// StartUDP must be called before these methods.
- void StartAudio(const media::cast::AudioSenderConfig& config,
+ void StartAudio(const media::cast::FrameSenderConfig& config,
const AudioFrameInputAvailableCallback& callback,
const ErrorCallback& error_callback);
- void StartVideo(const media::cast::VideoSenderConfig& config,
- const VideoFrameInputAvailableCallback& callback,
- const ErrorCallback& error_callback,
- const media::cast::CreateVideoEncodeAcceleratorCallback&
- create_vea_cb,
- const media::cast::CreateVideoEncodeMemoryCallback&
- create_video_encode_mem_cb);
+ void StartVideo(
+ const media::cast::FrameSenderConfig& config,
+ const VideoFrameInputAvailableCallback& callback,
+ const ErrorCallback& error_callback,
+ const media::cast::CreateVideoEncodeAcceleratorCallback& create_vea_cb,
+ const media::cast::CreateVideoEncodeMemoryCallback&
+ create_video_encode_mem_cb);
void ToggleLogging(bool is_audio, bool enable);
void GetEventLogsAndReset(bool is_audio,
« no previous file with comments | « chrome/renderer/media/cast_session.cc ('k') | chrome/renderer/media/cast_session_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698