Crash with uncaught exception: *** -[AVSampleBufferAudioRenderer enqueueSampleBuffer:] Sample buffer has media type 'vide' instead of 'soun'
<rdar://problem/63040834>
Created attachment 400839 [details] Patch
Comment on attachment 400839 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=400839&action=review > Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:1140 > + // AVSampleBufferDisplayLayer will throw an un-documented exception is passed a sample s/is/if/ > Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:1206 > + // AVSampleBufferAudioRenderer will throw an un-documented exception is passed a sample Ditto
Created attachment 400841 [details] Patch for landing
Comment on attachment 400839 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=400839&action=review > Source/WebCore/ChangeLog:9 > + Protect against the possibility of AVStreamDataParser generating non-video or -audio saples in an otherwise s/saples/samples?
Committed r262506: <https://trac.webkit.org/changeset/262506>