So while we have our first frame, this only works right now for I frame codecs - ie we aren't properly supporting other frame types just yet.
Playback appears to be requiring some additional metadata we aren't supplying (see #6 )
But we also will need to update the function
- (void)loadSampleBufferContainingSamplesToEndCursor:(nullable id<MESampleCursor>)endSampleCursor completionHandler:(void (^)(CMSampleBufferRef _Nullable newSampleBuffer, NSError * _Nullable error))completionHandler
To support the end sample cursor and 'accrue' samples in the CMBlockBuffer and populate the sample timing info.
The header docs for CMSampleBufferCreateReady has some good insight there.
So while we have our first frame, this only works right now for I frame codecs - ie we aren't properly supporting other frame types just yet.
Playback appears to be requiring some additional metadata we aren't supplying (see #6 )
But we also will need to update the function
To support the end sample cursor and 'accrue' samples in the CMBlockBuffer and populate the sample timing info.
The header docs for
CMSampleBufferCreateReadyhas some good insight there.