[WebRTC] Removing a MediaStreamTrack from a MediaStream reports no recording to WebKit clients
<rdar://problem/32592961>
Created attachment 312949 [details] Patch
Comment on attachment 312949 [details] Patch Very nice!
Created attachment 312987 [details] Patch for landing
Created attachment 312988 [details] Patch for landing
Created attachment 313005 [details] Patch for landing
Comment on attachment 313005 [details] Patch for landing Clearing flags on attachment: 313005 Committed r218365: <http://trac.webkit.org/changeset/218365>
All reviewed patches have been landed. Closing bug.
This patch caused an API failure on all builds Release https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20(Tests)/builds/2282 https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20(Tests)/builds/2282/steps/run-api-tests/logs/stdio Debug https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Debug%20WK2%20%28Tests%29/builds/2106/steps/run-api-tests/logs/stdio https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Debug%20WK2%20%28Tests%29/builds/2106/steps/run-api-tests/logs/stdio API Timeout on WebKit2.MediaStreamTrackDetached
Reverted r218365 for reason: The revision caused API timeouts on all builds. Committed r218369: <http://trac.webkit.org/changeset/218369>
Created attachment 313036 [details] Patch for landing
(In reply to Jer Noble from comment #11) > Created attachment 313036 [details] > Patch for landing The only difference between this patch and the one that got rolled out is that we explicitly call configureTrackRendering() in MediaStreamTrack::stopTrack(). It was early returning in MediaStreamTrack::trackStopped() before it got to the configureTrackRendering() call.
Comment on attachment 313036 [details] Patch for landing Clearing flags on attachment: 313036 Committed r218375: <http://trac.webkit.org/changeset/218375>
After the patch, the API test WebKit2.MediaStreamTrackDetached is still timing out on all platforms. https://build.webkit.org/builders/Apple%20El%20Capitan%20Release%20WK2%20(Tests)/builds/2384/steps/run-api-tests/logs/stdio https://build.webkit.org/builders/Apple%20El%20Capitan%20Release%20WK2%20(Tests)/builds/2384 Spoke with Jer about timeout.
Reverted r218375 for reason: The API test MediaStreamTrackDetached is still timing out after the patch Committed r218397: <http://trac.webkit.org/changeset/218397>
Created attachment 313093 [details] Patch for landing
This last patch enables mock capture devices for the test; this should address the test failing on bots (which do not have capture hardware) but passing on dev machines.
Comment on attachment 313093 [details] Patch for landing Clearing flags on attachment: 313093 Committed r218399: <http://trac.webkit.org/changeset/218399>