Source/WebCore/ChangeLog

 12019-07-22 Brent Fulgham <bfulgham@apple.com>
 2
 3 Correct web audio-related crash in seed reports
 4 https://bugs.webkit.org/show_bug.cgi?id=200009
 5 <rdar://problem/51565203>
 6
 7 Reviewed by Per Arne Vollan.
 8
 9 Update the 'createMix' method to do proper return value checking so that
 10 we can clear the result of MTAudioProcessingTapCreate if the create operation
 11 failed.
 12
 13 * platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm:
 14 (WebCore::AudioSourceProviderAVFObjC::createMix):
 15
1162019-07-22 Per Arne Vollan <pvollan@apple.com>
217
318 Prewarmed font does not find any matches

Source/WebKit/ChangeLog

 12019-07-22 Brent Fulgham <bfulgham@apple.com>
 2
 3 Correct web audio-related crash in seed reports
 4 https://bugs.webkit.org/show_bug.cgi?id=200009
 5 <rdar://problem/51565203>
 6
 7 Reviewed by Per Arne Vollan.
 8
 9 Revise the iOS sandbox to allow the WebContent process to communicate with
 10 the 'com.apple.coremedia.audioprocessingtap.xpc' service, which is needed by
 11 some types of WebAudio.
 12
 13 * WebProcess/com.apple.WebKit.WebContent.sb.in:
 14
1152019-07-22 Dean Jackson <dino@apple.com>
216
317 WebKit SPI fix for [ClickyOrb] Audio continues playing after dismissing a video preview in Safari

Source/WebCore/platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm

@@void AudioSourceProviderAVFObjC::createMix()
216216 };
217217
218218 MTAudioProcessingTapRef tap = nullptr;
219  MTAudioProcessingTapCreate(kCFAllocatorDefault, &callbacks, 1, &tap);
 219 OSStatus status = MTAudioProcessingTapCreate(kCFAllocatorDefault, &callbacks, 1, &tap);
220220 ASSERT(tap);
221221 ASSERT(m_tap == tap);
 222 if (status != noErr) {
 223 m_tap = nullptr;
 224 return;
 225 }
222226
223227 RetainPtr<AVMutableAudioMixInputParameters> parameters = adoptNS([PAL::allocAVMutableAudioMixInputParametersInstance() init]);
224228 [parameters setAudioTapProcessor:m_tap.get()];

Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb

377377
378378;; Allow CoreMedia to communicate with mediaserverd in order to implement custom media loading
379379(allow mach-lookup
 380 (global-name "com.apple.coremedia.audioprocessingtap.xpc") ;; <rdar://problem/51565203>
380381 (global-name "com.apple.coremedia.customurlloader.xpc"))
381382
382383;; Media capture, microphone access

424425 (global-name "com.apple.containermanagerd")
425426 (global-name "com.apple.coremedia.assetcacheinspector")
426427 (global-name "com.apple.coremedia.audiodeviceclock")
427  (global-name "com.apple.coremedia.audioprocessingtap.xpc")
428428 (global-name "com.apple.coremedia.endpointremotecontrolsession.xpc")
429429 (global-name "com.apple.coremedia.sandboxserver")
430430 (global-name "com.apple.coremedia.videocompositor")