Currently we are not able to do so, which limits the usefulness of getSettings() and applyConstraints for audio tracks. See radar 31878098 also.
Created attachment 308991 [details] Patch
Comment on attachment 308991 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=308991&action=review > Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.cpp:306 > Nit: extra blank > Source/WebKit2/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp:147 > + settings = source->settings(); Why is this necessary?
Created attachment 309018 [details] Rebasing patch
(In reply to youenn fablet from comment #3) > Created attachment 309018 [details] > Rebasing patch Plus some minor clean-up to CoreAudioCaptureSource. Let's see whether it compiles and passes tests.
Created attachment 309216 [details] Patch for landing
Created attachment 309272 [details] Patch for landing
Created attachment 309324 [details] Fixing start/stop and using last client
<rdar://problem/32041545>
Created attachment 309419 [details] Patch
Comment on attachment 309419 [details] Patch Clearing flags on attachment: 309419 Committed r216463: <http://trac.webkit.org/changeset/216463>
All reviewed patches have been landed. Closing bug.