Objective C implementation of Spatial Video(MV-HEVC) Maker

Hi everyone, I need to add spatial video maker in my app which was wrote in objective-c. I found some reference code by swift, can you help me with converting the code to objective -c?

let left = CMTaggedBuffer( tags: [.stereoView(.leftEye), .videoLayerID(leftEyeLayerIndex)], pixelBuffer: leftEyeBuffer) let right = CMTaggedBuffer( tags: [.stereoView(.rightEye), .videoLayerID(rightEyeLayerIndex)], pixelBuffer: rightEyeBuffer) let result = adaptor.appendTaggedBuffers( [left, right], withPresentationTime: leftPresentationTs)

Replies

CMTaggedBuffer is a struct and isn't compatible with objective c. You would need to create an objective c compatible swift wrapper around it as well as any related items..

It seems the C version is called CMTaggedBufferGroup.