Extending MediaStreamRegistry so that MediaStreamDescriptors can be looked up by label as well as any public blob URLs.
Created attachment 114258 [details] Patch
How is this intended to be used? The MediaStream label is not guaranteed to be unique to a particular MediaStream instance.
Comment on attachment 114258 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=114258&action=review > Source/WebCore/ChangeLog:8 > + MediaStream API: Extending MediaStreamRegistry > + https://bugs.webkit.org/show_bug.cgi?id=71895 > + > + Reviewed by NOBODY (OOPS!). > + > + Tests for the Media Stream API will be provided by the bug 56587, pending enough landed code. Can you add more of an explanation to the ChangeLog? The ChangeLog should explain why we're making this change. I don't really understand what this change achieves (mostly due to my ignorance).
(In reply to comment #2) > How is this intended to be used? The MediaStream label is not guaranteed to be unique to a particular MediaStream instance. Right, I forgot the bounced MediaStream scenario...
This was to slightly simplify the embedder code but Adam Bergkvist reminded me why this wont work. (In reply to comment #3) > (From update of attachment 114258 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=114258&action=review > > > Source/WebCore/ChangeLog:8 > > + MediaStream API: Extending MediaStreamRegistry > > + https://bugs.webkit.org/show_bug.cgi?id=71895 > > + > > + Reviewed by NOBODY (OOPS!). > > + > > + Tests for the Media Stream API will be provided by the bug 56587, pending enough landed code. > > Can you add more of an explanation to the ChangeLog? The ChangeLog should explain why we're making this change. I don't really understand what this change achieves (mostly due to my ignorance).