-
Notifications
You must be signed in to change notification settings - Fork 516
AVFoundation tvOS xcode16.0 b3
Rolf Bjarne Kvinge edited this page Jul 10, 2024
·
3 revisions
#AVFoundation.framework
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaFormat.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaFormat.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaFormat.h 2024-06-15 11:52:05
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaFormat.h 2024-06-28 23:34:19
@@ -74,6 +74,14 @@
AVF_EXPORT AVMediaType const AVMediaTypeDepthData API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), visionos(1.0)) API_UNAVAILABLE(watchos);
+/*!
+ @constant AVMediaTypeAuxiliaryPicture
+ @discussion
+ This media type is used only to identify the track type. An Auxiliary Picture track is not intended to be displayed; as such, the track_in_movie flag in TrackHeaderBox of these tracks will be 0.
+ A track with this media type contain video samples the media type of the format description of which is AVMediaTypeVideo.
+ */
+AVF_EXPORT AVMediaType const AVMediaTypeAuxiliaryPicture API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0), watchos(7.0), visionos(1.0));
+
// Media characteristics
typedef NSString * AVMediaCharacteristic NS_EXTENSIBLE_STRING_ENUM;
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetrics.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetrics.h
--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetrics.h 2024-06-15 20:27:05
+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetrics.h 2024-06-29 07:51:36
@@ -294,6 +294,12 @@
@property (readonly) NSRange byteRange;
/*!
+ @property indexFileURL
+ @abstract Returns the URL of the index file in which this segment was declared. If not available, returns nil.
+ */
+@property (readonly) NSURL *indexFileURL;
+
+/*!
@property mediaResourceRequestEvent
@abstract Returns the media resource request event which was used to satisfy the media segment.
*/
@@ -508,6 +514,38 @@
@abstract Returns if the switch did succeed.
*/
@property (readonly) BOOL didSucceed;
+@end
+
+#pragma mark - Variant Switch Start Event -
+
+/*!
+ @class AVMetricPlayerItemVariantSwitchStartEvent
+ @abstract Represents a metric event when variant switch was attempted.
+ @discussion Subclasses of this type that are used from Swift must fulfill the requirements of a Sendable type.
+ */
+NS_SWIFT_SENDABLE
+API_AVAILABLE(macos(15), ios(18), tvos(18), watchos(11), visionos(2))
+@interface AVMetricPlayerItemVariantSwitchStartEvent : AVMetricEvent
+AV_INIT_UNAVAILABLE
+
+/*!
+ @property fromVariant
+ @abstract Returns the variant from which the switch is attempted. If no value is available, returns nil
+ */
+@property (readonly, nullable) AVAssetVariant *fromVariant;
+
+/*!
+ @property toVariant
+ @abstract Returns the variant to which the switch is attempted.
+ */
+@property (readonly) AVAssetVariant *toVariant;
+
+/*!
+ @property loadedTimeRanges
+ @abstract This property provides a collection of time ranges for which the player has the media data readily available. The ranges provided might be discontinuous.
+ @discussion Returns an NSArray of NSValues containing CMTimeRanges.
+ */
+@property (readonly) NSArray<NSValue *> *loadedTimeRanges NS_REFINED_FOR_SWIFT;
@end
#pragma mark - Summary Event -
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status