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

Unified Diff: third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h

Issue 2651353002: Get the device ID in getSettings() (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h b/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h
index ea1069e3666639965e1d39bd57b65da74e279c8a..8b7586051e17e0f42ad99b89aa698371dab52943 100644
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamSource.h
@@ -35,6 +35,7 @@
#include "platform/PlatformExport.h"
#include "platform/audio/AudioDestinationConsumer.h"
#include "public/platform/WebMediaConstraints.h"
+#include "public/platform/WebMediaStreamTrack.h"
#include "wtf/Allocator.h"
#include "wtf/ThreadingPrimitives.h"
#include "wtf/Vector.h"
@@ -93,6 +94,7 @@ class PLATFORM_EXPORT MediaStreamSource final
m_constraints = constraints;
}
WebMediaConstraints constraints() { return m_constraints; }
+ void getSettings(WebMediaStreamTrack::Settings&);
void setAudioFormat(size_t numberOfChannels, float sampleRate);
void consumeAudio(AudioBus*, size_t numberOfFrames);

Powered by Google App Engine
This is Rietveld 408576698