Index: Source/core/platform/mediastream/MediaStreamDescriptor.h |
diff --git a/Source/core/platform/mediastream/MediaStreamDescriptor.h b/Source/core/platform/mediastream/MediaStreamDescriptor.h |
index 73c7754741aeb29a398c7cab03f8907d9fe4c166..81c0277b071d1e8cfc798efda7b58f77076e8836 100644 |
--- a/Source/core/platform/mediastream/MediaStreamDescriptor.h |
+++ b/Source/core/platform/mediastream/MediaStreamDescriptor.h |
@@ -35,6 +35,7 @@ |
#if ENABLE(MEDIA_STREAM) |
#include "MediaStreamComponent.h" |
+#include "UUID.h" |
#include <wtf/RefCounted.h> |
#include <wtf/Vector.h> |
@@ -57,9 +58,9 @@ public: |
virtual ~ExtraData() { } |
}; |
- static PassRefPtr<MediaStreamDescriptor> create(const String& id, const MediaStreamSourceVector& audioSources, const MediaStreamSourceVector& videoSources) |
+ static PassRefPtr<MediaStreamDescriptor> create(const MediaStreamSourceVector& audioSources, const MediaStreamSourceVector& videoSources) |
{ |
- return adoptRef(new MediaStreamDescriptor(id, audioSources, videoSources)); |
+ return adoptRef(new MediaStreamDescriptor(createCanonicalUUIDString(), audioSources, videoSources)); |
} |
static PassRefPtr<MediaStreamDescriptor> create(const String& id, const MediaStreamComponentVector& audioComponents, const MediaStreamComponentVector& videoComponents) |