There is a typo in RealtimeIncomingAudioSource::stopProducingData which prevents it from stopping.
Created attachment 304749 [details] Patch
Created attachment 304750 [details] Patch
Test is not exercising the potential crash path, but should be close to it so this is a worthwhile addition anyway.
Comment on attachment 304750 [details] Patch Attachment 304750 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/3346552 New failing tests: webrtc/libwebrtc/release-after-getting-track.html
Created attachment 304756 [details] Archive of layout-test-results from ews105 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Created attachment 304757 [details] Patch
Comment on attachment 304757 [details] Patch Clearing flags on attachment: 304757 Committed r214108: <http://trac.webkit.org/changeset/214108>
All reviewed patches have been landed. Closing bug.