Render h264 streams on visionOS

I currently have an iOS app that transmits h264 code through wifi, uses videotoolbox to decode and displays it with MTKView, and I want to implement similar functions in visionOS. What should I do? MTKView is not available on visionOS

Render h264 streams on visionOS
 
 
Q