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

Unified Diff: content/public/renderer/media_stream_source_api.h

Issue 883293005: Cast: Basic cast_receiver API for chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: content/public/renderer/media_stream_source_api.h
diff --git a/content/public/renderer/media_stream_source_api.h b/content/public/renderer/media_stream_source_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..6d2565e6cac3be83279fe0ec308045e4bf220f28
--- /dev/null
+++ b/content/public/renderer/media_stream_source_api.h
@@ -0,0 +1,29 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
Alpha Left Google 2015/02/04 03:07:52 Maybe this file should be media_stream_source.h? T
hubbe 2015/02/05 20:23:00 Seems like a file called media_stream_source.h sho
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_SOURCE_API_H_
+#define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_SOURCE_API_H_
+
+#include "content/common/content_export.h"
+#include "media/base/audio_capturer_source.h"
+#include "media/video/capture/video_capturer_source.h"
+
+namespace blink {
+class WebMediaStreamSource;
+}
+
+namespace content {
+
+CONTENT_EXPORT void InitializeVideoWebMediaSource(
Alpha Left Google 2015/02/04 03:07:52 Maybe InitializeMediaStreamVideoSource and Initial
hubbe 2015/02/05 20:23:00 How about Initialize{Audio,Video}WebMediaStreamSou
Alpha Left Google 2015/02/07 01:30:30 InitializeVideoWebMediaStreamSource is a bunch of
hubbe 2015/02/09 20:13:32 How about InitializeWebMediaStreamSourceFor{Audio,
+ scoped_refptr<media::VideoCapturerSource> source,
+ blink::WebMediaStreamSource* webkit_source);
+CONTENT_EXPORT void InitializeAudioWebMediaSource(
+ scoped_refptr<media::AudioCapturerSource> source,
+ blink::WebMediaStreamSource* webkit_source);
+
+// TODO(Hubbe): remove methods?
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_SINK_H_

Powered by Google App Engine
This is Rietveld 408576698