OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_API_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_API_H_ |
6 #define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_API_H_ | 6 #define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_API_H_ |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "media/base/audio_capturer_source.h" | 9 #include "media/base/audio_capturer_source.h" |
10 #include "media/base/video_capturer_source.h" | 10 #include "media/base/video_capturer_source.h" |
(...skipping 25 matching lines...) Expand all Loading... |
36 bool is_remote, | 36 bool is_remote, |
37 bool is_readonly, | 37 bool is_readonly, |
38 blink::WebMediaStream* web_stream); | 38 blink::WebMediaStream* web_stream); |
39 | 39 |
40 CONTENT_EXPORT bool AddAudioTrackToMediaStream( | 40 CONTENT_EXPORT bool AddAudioTrackToMediaStream( |
41 const scoped_refptr<media::AudioCapturerSource>& source, | 41 const scoped_refptr<media::AudioCapturerSource>& source, |
42 const media::AudioParameters& params, | 42 const media::AudioParameters& params, |
43 bool is_remote, | 43 bool is_remote, |
44 bool is_readonly, | 44 bool is_readonly, |
45 const std::string& media_stream_url); | 45 const std::string& media_stream_url); |
| 46 CONTENT_EXPORT bool AddAudioTrackToMediaStream( |
| 47 const scoped_refptr<media::AudioCapturerSource>& source, |
| 48 bool is_remote, |
| 49 bool is_readonly, |
| 50 blink::WebMediaStream* web_stream); |
46 | 51 |
47 } // namespace content | 52 } // namespace content |
48 | 53 |
49 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_API_H_ | 54 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_API_H_ |
OLD | NEW |