UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

H264 frame decoding help

Forums > Swift

Hi,

I am trying to create a front-end on my ipad air that takes a stream of h264 encoded data from across the network, and displays it on the ipad. I have currently got everything working network wise, but now i am puzzled about how i would go about implementing a player that takes this information and transforms it into visible images.

I have tried looking at examples, but have mostly only found code examples from UIKit that takes a URL object and proceeds to decode it from locally made swift code files.

Is there a more indept tutorial about using available libraries like the Video Toolbox or something similar that takes in raw frame data and decodes them to Image objects or such that i would display on my SwiftUI frontend?

2      

Hacking with Swift is sponsored by RevenueCat

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.