Index: Source/core/platform/mediastream/MediaStreamDescriptor.h |
diff --git a/Source/core/platform/mediastream/MediaStreamDescriptor.h b/Source/core/platform/mediastream/MediaStreamDescriptor.h |
index a0f253cbedd91261d8c118feaa2229982411d97a..a0c813a48304bafa78058cc2e5f76daa703ee911 100644 |
--- a/Source/core/platform/mediastream/MediaStreamDescriptor.h |
+++ b/Source/core/platform/mediastream/MediaStreamDescriptor.h |
@@ -34,6 +34,7 @@ |
#if ENABLE(MEDIA_STREAM) |
+#include "core/platform/UUID.h" |
#include "core/platform/mediastream/MediaStreamComponent.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) |