| Index: Source/platform/mediastream/MediaStreamComponent.h
|
| diff --git a/Source/platform/mediastream/MediaStreamComponent.h b/Source/platform/mediastream/MediaStreamComponent.h
|
| index 69f58b29b2e933b0b287c67c9b77afdc9f0bd119..f9b96204956322d41736ced974c4d7511e72637b 100644
|
| --- a/Source/platform/mediastream/MediaStreamComponent.h
|
| +++ b/Source/platform/mediastream/MediaStreamComponent.h
|
| @@ -53,7 +53,7 @@ public:
|
| };
|
|
|
| static PassRefPtr<MediaStreamComponent> create(PassRefPtr<MediaStreamSource>);
|
| - static PassRefPtr<MediaStreamComponent> create(const String& id, PassRefPtr<MediaStreamSource>);
|
| + static PassRefPtr<MediaStreamComponent> create(const String& id, PassRefPtr<MediaStreamSource>, bool remote);
|
|
|
| MediaStreamSource* source() const { return m_source.get(); }
|
|
|
| @@ -61,6 +61,7 @@ public:
|
| bool enabled() const { return m_enabled; }
|
| void setEnabled(bool enabled) { m_enabled = enabled; }
|
| bool muted() const { return m_muted; }
|
| + bool remote() const { return m_remote; }
|
|
|
| #if ENABLE(WEB_AUDIO)
|
| AudioSourceProvider* audioSourceProvider() { return &m_sourceProvider; }
|
| @@ -71,7 +72,7 @@ public:
|
| void setExtraData(PassOwnPtr<ExtraData> extraData) { m_extraData = extraData; }
|
|
|
| private:
|
| - MediaStreamComponent(const String& id, PassRefPtr<MediaStreamSource>);
|
| + MediaStreamComponent(const String& id, PassRefPtr<MediaStreamSource>, bool);
|
|
|
| #if ENABLE(WEB_AUDIO)
|
| // AudioSourceProviderImpl wraps a WebAudioSourceProvider::provideInput()
|
| @@ -104,6 +105,7 @@ private:
|
| String m_id;
|
| bool m_enabled;
|
| bool m_muted;
|
| + bool m_remote;
|
| OwnPtr<ExtraData> m_extraData;
|
| };
|
|
|
|
|