RESOLVED FIXED 111311
MediaStream API: Add the getStreamById method on RTCPeerConnection
https://bugs.webkit.org/show_bug.cgi?id=111311
Summary MediaStream API: Add the getStreamById method on RTCPeerConnection
Tommy Widenflycht
Reported 2013-03-04 06:26:46 PST
MediaStream API: Add the getStreamById method on RTCPeerConnection
Attachments
Patch (14.18 KB, patch)
2013-03-04 06:34 PST, Tommy Widenflycht
abarth: review+
Patch for landing (14.18 KB, patch)
2013-03-05 01:08 PST, Tommy Widenflycht
no flags
Patch for landing (15.02 KB, patch)
2013-03-05 01:37 PST, Tommy Widenflycht
no flags
Tommy Widenflycht
Comment 1 2013-03-04 06:34:15 PST
Tommy Widenflycht
Comment 2 2013-03-04 06:37:16 PST
Also took the opportunity to fix the readyState handling of MediaStreamSource. It is allowed to set the readystate to ended more than once.
WebKit Review Bot
Comment 3 2013-03-04 06:38:13 PST
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Adam Barth
Comment 4 2013-03-04 12:49:47 PST
Comment on attachment 191224 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=191224&action=review > Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp:434 > +MediaStream* RTCPeerConnection::getStreamById(String streamId) String -> const String& > Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp:438 > + return (*iter).get(); (*iter).get() -> iter->get() ?
Tommy Widenflycht
Comment 5 2013-03-05 01:08:29 PST
Created attachment 191428 [details] Patch for landing
Tommy Widenflycht
Comment 6 2013-03-05 01:09:12 PST
Comment on attachment 191224 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=191224&action=review >> Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp:434 >> +MediaStream* RTCPeerConnection::getStreamById(String streamId) > > String -> const String& Fixed. >> Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp:438 >> + return (*iter).get(); > > (*iter).get() -> iter->get() ? Done.
Tommy Widenflycht
Comment 7 2013-03-05 01:37:35 PST
Created attachment 191437 [details] Patch for landing
Tommy Widenflycht
Comment 8 2013-03-05 01:38:49 PST
Removed a TestExpectations exception for a test in the latest patch because this code fixes the issue.
WebKit Review Bot
Comment 9 2013-03-05 03:36:40 PST
Comment on attachment 191437 [details] Patch for landing Clearing flags on attachment: 191437 Committed r144748: <http://trac.webkit.org/changeset/144748>
Note You need to log in before you can comment on or make changes to this bug.