Support arbitrary video resolution in getUserMedia API
[WebKit-https.git] / Source / WebCore / platform / mock / MockRealtimeAudioSource.h
index 79c6678..ded280d 100644 (file)
@@ -59,8 +59,8 @@ protected:
     static Seconds renderInterval() { return 60_ms; }
 
 private:
-    const RealtimeMediaSourceCapabilities& capabilities() const final;
-    const RealtimeMediaSourceSettings& settings() const final;
+    const RealtimeMediaSourceCapabilities& capabilities() final;
+    const RealtimeMediaSourceSettings& settings() final;
 
     void tick();
 
@@ -68,8 +68,8 @@ private:
 
     void delaySamples(Seconds) final;
 
-    mutable std::optional<RealtimeMediaSourceCapabilities> m_capabilities;
-    mutable std::optional<RealtimeMediaSourceSettings> m_currentSettings;
+    std::optional<RealtimeMediaSourceCapabilities> m_capabilities;
+    std::optional<RealtimeMediaSourceSettings> m_currentSettings;
     RealtimeMediaSourceSupportedConstraints m_supportedConstraints;
 
     RunLoop::Timer<MockRealtimeAudioSource> m_timer;