Bug 277140

Summary: [MSE] Incorrect calculations in evictable content when using mp4
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED INVALID    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Jean-Yves Avenard [:jya]
Reported 2024-07-26 05:19:44 PDT
Seens in the console: ``` 024-07-26 21:39:05.863854+1000 0x4B5EF1 Default 0x0 72312 0 com.apple.WebKit.GPU.Development: (CoreMedia) [com.apple.coremedia:excessive] <<<< SampleBuffer >>>> CMSampleBufferCallForEachSample signalled err=1 (err) ([aborting loop early due to error from callback]) at FigSampleBuffer.c:5237 0 CoreMedia 0x000000019bba036c CMSampleBufferCallForEachSample + 1504 [0x19bafb000 + 676716] 1 WebCore 0x00000003029f071c _ZN3PAL55softLink_CoreMedia_CMSampleBufferCallBlockForEachSampleEP20opaqueCMSampleBufferU13block_pointerFiS1_lE + 48 [0x300000000 + 43976476] ``` To calculate how much data can be evicted from a source buffer we iterate over the samples to see which is to be ignored. It appears that `CMSampleBufferCallForEachSample` performs a speed throttling which cause the calculation to return 0 (and leading to a sync call)
Attachments
Radar WebKit Bug Importer
Comment 1 2024-07-26 05:20:01 PDT
Jean-Yves Avenard [:jya]
Comment 2 2024-07-26 06:05:50 PDT
Note You need to log in before you can comment on or make changes to this bug.