Post

Replies

Boosts

Views

Activity

Reply to Decode HLS livestream with VideoToolbox
Can I ask a dumb question? Is there a reason you need to customize the decoding of an HLS stream yourself? Does your stream work with AVURLAsset -> url of HLS playlist -> AVPlayer? Just curious! As for the error, are you certain you are vending samples to the decoder in DTS order, and that your CMSampleBuffers contain Block Buffers with fully demarcated NAL units, sync info and extra data? I dont know how to resolve your issue specifically to be honest, but ive absolutely seen that not fully setup sample buffers can cause the decoder to fail in unexpected ways.
3w
Reply to AVPlayer takes too much memory when playing AVComposition with multiple videos
You need to ensure that you re-use tracks in your composition when creating a composition. Validate that your existing composition video track can be re-used when making a new insert / edit - assuming you dont need multiple tracks for transition effects. The API for this is mutableTrack(compatibleWith track: AVAssetTrack) -> AVMutableCompositionTrack? The way this works is for every source video track you want to edit into your composition: check if there is an existing compatible track on your composition if there is, use it if not, make a new one and use that, The more times you can re-use the same track (ie for standard edits) the better, and less memory you will consume.
3w
Reply to AppleID Login failing in virtualized OS
Ah, so this appears fixed in macOS 15. Older Virtualization Framework systems (ie older hosts) won't work. https://developer.apple.com/documentation/virtualization/using_icloud_with_macos_virtual_machines Can we get confirmation that: macOS 14 (13, 12, 11 etc) running as a guest on a macOS 15 workstation would get a Secure Enclave identity allowing the macOS 14 (13, 12, 11 etc) guest OS to sign into iCloud, use Xcode, etc?
Jun ’24
Reply to AppleID Login failing in virtualized OS
This really needs to be resolved. The ability to test, debug, and build apps in professional workflows requires ease of setting up VMs and debugging apps. Xcode requires Apple ID login, which does not work in a VM like UTM. This means I can't easily debug my software on new OS'es without updating my entire system? Thats insane in 2024 with containerized workflows as a defacto standard. Come on.
Jun ’24