OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_SOURCE_API_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_SOURCE_API_H_ |
| 7 |
| 8 #include "content/common/content_export.h" |
| 9 #include "media/base/audio_capturer_source.h" |
| 10 #include "media/base/video_capturer_source.h" |
| 11 |
| 12 namespace blink { |
| 13 class WebMediaStreamSource; |
| 14 } |
| 15 |
| 16 namespace content { |
| 17 |
| 18 CONTENT_EXPORT void InitializeVideoWebMediaStreamSource( |
| 19 scoped_refptr<media::VideoCapturerSource> source, |
| 20 blink::WebMediaStreamSource* webkit_source); |
| 21 CONTENT_EXPORT void InitializeAudioWebMediaStreamSource( |
| 22 scoped_refptr<media::AudioCapturerSource> source, |
| 23 blink::WebMediaStreamSource* webkit_source); |
| 24 |
| 25 // TODO(Hubbe): remove methods? |
| 26 |
| 27 } // namespace content |
| 28 |
| 29 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_SINK_H_ |
OLD | NEW |