On May 21, 2014, at 4:52 PM, Mike Hommey <m...@glandium.org> wrote: > On Wed, May 21, 2014 at 10:22:44PM +0200, Emmanuel Engelhart wrote: >> On 21.05.2014 21:59, Ralph Giles wrote: >>> On 2014-05-21 9:56 AM, Emmanuel Engelhart wrote: >>> >>>> checker. But it seems the Mozilla codes uses this API for many things >>>> linked to video stuff: >>>> https://mxr.mozilla.org/mozilla-central/search?find=%2F&string=QTKit >>> >>> This is all video capture code for WebRTC. What API does Apple recommend >>> instead? >>> >>> It's also worth reporting this upstream at webrtc.org, since that >>> codebase *is* used in a number of iOS applications. >> >> More Details are given about the deprecated API in 10.9 here (see >> "Deprecated Frameworks" paragraph) >> https://developer.apple.com/library/mac/releasenotes/MacOSX/WhatsNewInOSX/Articles/MacOSX10_9.html >> >> Extract "The QuickTime and QTKit frameworks are superseded by AV Kit and AV >> Foundation." >> >> More information about transitioning code: >> https://developer.apple.com/library/mac/technotes/tn2300/_index.html#//apple_ref/doc/uid/DTS40012852 > > "Introduced in OS X 10.7" > > You can't make a 10.6-compatible build with this. > > Mike
You can, but you have to use the SDK feature correctly, and you have to leave in code that detects whether or not the new API is available, and fall back on the old API if it is not. It's tricky. Syd Polk sp...@mozilla.com +1-512-905-9904 _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform