Expose MediaStream methods to be used in the MediaStream Engine
[WebKit-https.git] / Source / WebCore / platform / mediastream / MediaStreamPrivate.h
index 3e63f4c..f1e58b4 100644 (file)
@@ -39,6 +39,7 @@
 #include "MediaStreamTrackPrivate.h"
 #include <wtf/HashMap.h>
 #include <wtf/RefCounted.h>
+#include <wtf/RefPtr.h>
 #include <wtf/Vector.h>
 
 namespace WebCore {
@@ -52,6 +53,8 @@ public:
     virtual void activeStatusChanged() = 0;
     virtual void didAddTrackToPrivate(MediaStreamTrackPrivate&) = 0;
     virtual void didRemoveTrackFromPrivate(MediaStreamTrackPrivate&) = 0;
+    virtual Vector<RefPtr<MediaStreamTrack>> getVideoTracks() = 0;
+    virtual Vector<RefPtr<MediaStreamTrack>> getAudioTracks() = 0;
 };
 
 class MediaStreamPrivate : public RefCounted<MediaStreamPrivate> {