[iOS] Do we have any apis like MediaCodec in Android to get the mediaCapabilties in Swift

is there any class in iOS which returns encoder/ decoder capabilities just like Android MediaCodec/ MediaCodecList.(https://developer.android.com/reference/android/media/MediaCodec) I need to get the fps/profile/level and width /height supported on each profile of h264 and hevc codec. I have found it related to AvCaptureSession, but this may not be correct since we need to support AvPlayer only (and camera is not in the part of the flow.)

We got VTIsHardwareDecodeSupported (CMVideoCodecType) -> Bool helpful , but we need more info like the h264/h265 Profiles/levels /Video resolution /fps etc.

[iOS] Do we have any apis like MediaCodec in Android to get the mediaCapabilties in Swift
 
 
Q