WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 78781
MediaStream API: Need to support MediaStream constructor
https://bugs.webkit.org/show_bug.cgi?id=78781
Summary
MediaStream API: Need to support MediaStream constructor
William Lin
Reported
2012-02-15 23:11:16 PST
Although there is an implementation of MediaStream constructor, web app developer can't call JavaScript api to new a MediaStream
Attachments
UseCase
(2.96 KB, text/html)
2012-02-15 23:16 PST
,
William Lin
no flags
Details
P
(2.08 KB, patch)
2012-02-15 23:37 PST
,
William Lin
no flags
Details
Formatted Diff
Diff
Patch
(2.04 KB, patch)
2012-03-19 01:27 PDT
,
Jeremy Mao
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
William Lin
Comment 1
2012-02-15 23:16:11 PST
Created
attachment 127317
[details]
UseCase 1. click 'add webcam' button to get local MediaStream 2. click 'duplicate mediaStream' button to construct a new MediaStream
William Lin
Comment 2
2012-02-15 23:37:12 PST
Created
attachment 127319
[details]
P
Tommy Widenflycht
Comment 3
2012-02-16 06:21:00 PST
Thanks for fixing!
Adam Barth
Comment 4
2012-02-16 08:53:59 PST
Comment on
attachment 127319
[details]
P If you'd like this patch incorporated into trunk, please see these instructions:
http://www.webkit.org/coding/contributing.html
In particular, you need to mark the patch review? and include a test that exercises your change.
Adam Barth
Comment 5
2012-02-16 08:54:20 PST
Comment on
attachment 127319
[details]
P View in context:
https://bugs.webkit.org/attachment.cgi?id=127319&action=review
> Source/WebCore/ChangeLog:3 > + Fix bug from
r107672
.
This line should also match the title of the bug.
Jeremy Mao
Comment 6
2012-03-19 01:27:28 PDT
Created
attachment 132557
[details]
Patch
Adam Barth
Comment 7
2012-03-19 10:24:37 PDT
This isn't specific to JSC.
Adam Barth
Comment 8
2012-03-19 10:25:19 PDT
Comment on
attachment 132557
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=132557&action=review
Ok. Ideally we'd have a test that exercises the constructor.
> Source/WebCore/ChangeLog:8 > + No new tests.
Does this make some of the existing tests pass?
Tommy Widenflycht
Comment 9
2012-03-19 11:02:27 PDT
Just FYI: Creating a MediaStram out of tracks from other MediaStreams isn't tested in Chromium yet.
Jeremy Mao
Comment 10
2012-03-19 17:09:22 PDT
(In reply to
comment #7
)
> This isn't specific to JSC.
Yes, it's not specific to JSC, thanks for changing the title.
Jeremy Mao
Comment 11
2012-03-19 17:26:43 PDT
(In reply to
comment #8
)
> (From update of
attachment 132557
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=132557&action=review
> Ok. Ideally we'd have a test that exercises the constructor. > > Source/WebCore/ChangeLog:8 > > + No new tests. > Does this make some of the existing tests pass?
Currently in Webkit there's no tests exercise this media stream constructor, because creating a new media stream need a exsiting media steam which we cannot get from getUserMedia. getUserMedia now has a impelementation only for the chromium port, I have tested this use case on chromium, it works.
WebKit Review Bot
Comment 12
2012-03-21 10:08:41 PDT
Comment on
attachment 132557
[details]
Patch Clearing flags on attachment: 132557 Committed
r111558
: <
http://trac.webkit.org/changeset/111558
>
WebKit Review Bot
Comment 13
2012-03-21 10:08:46 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug