Skip to content

CoreMedia tvOS xcode13.0 beta2

Manuel de la Pena edited this page Sep 20, 2021 · 3 revisions

#CoreMedia.framework https://github.com/xamarin/xamarin-macios/pull/12770

diff -ruN /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h
--- /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h	2021-06-02 05:35:16.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h	2021-06-17 14:33:22.000000000 -0400
@@ -1873,6 +1873,15 @@
 CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_ForceKeyFrame
 							API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0)); // CFBoolean
 
+/*!
+	@constant   kCMSampleAttachmentKey_CryptorSubsampleAuxiliaryData
+	@abstract   Describes the ranges of protected and unprotected data within a protected CMSampleBuffer
+	@discussion
+		The attachment is CFData containing one or more "BytesOfClearData"/"BytesOfProtectedData" pairs as appears in the 'senc' box (see ISO/IEC 23001-7 section 7.2.2). The "BytesOfClearData” field is a 16-bit integer, and the "BytesOfProtectedData” field is a 32-bit integer. Both are native endian in the CFData. This attachment is not present if the CMSampleBuffer contains unprotected content.
+ */
+CM_EXPORT const CFStringRef kCMSampleAttachmentKey_CryptorSubsampleAuxiliaryData // CFData
+						API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+
 CM_ASSUME_NONNULL_END
 
 // Use CMAttachmentBearer APIs to set, get, and remove buffer-level attachments on the CMSampleBuffer itself
Clone this wiki locally