| Index: content/renderer/media/media_stream_impl.h
|
| diff --git a/content/renderer/media/media_stream_impl.h b/content/renderer/media/media_stream_impl.h
|
| index 1cd4479ce72f7300ef87c5d3827d4bbf2759254e..149ce4f0539a78059aca8629c7945b5ed4549548 100644
|
| --- a/content/renderer/media/media_stream_impl.h
|
| +++ b/content/renderer/media/media_stream_impl.h
|
| @@ -155,6 +155,16 @@ class CONTENT_EXPORT MediaStreamImpl
|
|
|
| void StopLocalAudioTrack(const WebKit::WebMediaStream& web_stream);
|
|
|
| + // Returns a valid session id if a single capture device is currently open
|
| + // (and then the matching session_id), otherwise -1.
|
| + // This is used to pass on a session id to a webrtc audio renderer (either
|
| + // local or remote), so that audio will be rendered to a matching output
|
| + // device, should one exist.
|
| + // Note that if there are more than one open capture devices the function
|
| + // will not be able to pick an appropriate device and return false.
|
| + bool GetAuthorizedDeviceInfoForAudioRenderer(
|
| + int* session_id, int* output_sample_rate, int* output_buffer_size);
|
| +
|
| // Weak ref to a MediaStreamDependencyFactory, owned by the RenderThread.
|
| // It's valid for the lifetime of RenderThread.
|
| MediaStreamDependencyFactory* dependency_factory_;
|
|
|