this repo has no description
1/*
2 This file is part of Darling.
3
4 Copyright (C) 2019 Lubos Dolezel
5
6 Darling is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 Darling is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Darling. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#import <Foundation/NSString.h>
21#import <AVFoundation/AVFoundation.h>
22
23NSString *const AVAssetExportPresetHighestQuality = @"AVAssetExportPresetHighestQuality";
24NSString *const AVAssetExportPresetMediumQuality = @"AVAssetExportPresetMediumQuality";
25NSString *const AVAssetExportPresetLowQuality = @"AVAssetExportPresetLowQuality";
26NSString *const AVCaptureDeviceWasConnectedNotification = @"AVCaptureDeviceWasConnectedNotification";
27NSString *const AVCaptureDeviceWasDisconnectedNotification = @"AVCaptureDeviceWasDisconnectedNotification";
28NSString *const AVCaptureSessionDidStartRunningNotification = @"AVCaptureSessionDidStartRunningNotification";
29NSString *const AVCaptureSessionDidStopRunningNotification = @"AVCaptureSessionDidStopRunningNotification";
30NSString *const AVCaptureSessionErrorKey = @"AVCaptureSessionErrorKey";
31NSString *const AVCaptureSessionRuntimeErrorNotification = @"AVCaptureSessionRuntimeErrorNotification";
32NSString *const AVChannelLayoutKey = @"AVChannelLayoutKey";
33NSString *const AVEncoderBitRateChannelKey = @"AVEncoderBitRatePerChannelKey";
34NSString *const AVErrorDeviceKey = @"AVErrorDeviceKey";
35NSString *const AVErrorFileSizeKey = @"AVErrorFileSizeKey";
36NSString *const AVErrorMediaSubTypeKey = @"AVErrorMediaSubTypeKey";
37NSString *const AVErrorMediaTypeKey = @"AVErrorMediaTypeKey";
38NSString *const AVErrorTimeKey = @"AVErrorTimeKey";
39NSString *const AVErrorPIDKey = @"AVErrorPIDKey";
40NSString *const AVErrorRecordingSuccessfullyFinishedKey = @"AVErrorRecordingSuccessfullyFinishedKey";
41NSString *const AVErrorPresentationTimeStampKey = @"AVErrorPresentationTimeStampKey";
42NSString *const AVErrorPersistentTrackIDKey = @"AVErrorPersistentTrackIDKey";
43NSString *const AVErrorFileTypeKey = @"AVErrorFileTypeKey";
44NSString *const AVFormatIDKey = @"AVFormatIDKey";
45NSString *const AVLinearPCMBitDepthKey = @"AVLinearPCMBitDepthKey";
46NSString *const AVNumberOfChannelsKey = @"AVNumberOfChannelsKey";
47NSString *const AVPlayerItemDidPlayToEndTimeNotification = @"AVPlayerItemFailedToPlayToEndTimeNotification";
48NSString *const AVPlayerItemFailedToPlayToEndTimeNotification = @"AVPlayerItemPlaybackStalledNotification";
49NSString *const AVSampleRateKey = @"AVSampleRateKey";
50NSString *const AVURLAssetPreferPreciseDurationAndTimingKey = @"AVURLAssetPreferPreciseDurationAndTimingKey";
51NSString *const AVVideoAverageBitRateKey = @"AverageBitRate";
52NSString *const AVVideoCodecAppleProRes422 = @"apcn";
53NSString *const AVVideoCodecAppleProRes4444 = @"ap4h";
54NSString *const AVVideoCodecH264 = @"avc1";
55NSString *const AVVideoCodecHEVC = @"hvc1";
56NSString *const AVVideoCodecJPEG = @"jpeg";
57NSString *const AVVideoCodecKey = @"AVVideoCodecKey";
58NSString *const AVVideoCompressionPropertiesKey = @"AVVideoCompressionPropertiesKey";
59NSString *const AVVideoHeightKey = @"AVVideoHeightKey";
60NSString *const AVVideoMaxKeyFrameIntervalKey = @"MaxKeyFrameInterval";
61NSString *const AVVideoWidthKey = @"AVVideoWidthKey";
62
63const AVCaptureSessionPreset AVCaptureSessionPreset3840x2160 = @"AVCaptureSessionPreset3840x2160";
64const AVCaptureSessionPreset AVCaptureSessionPreset1920x1080 = @"AVCaptureSessionPreset1920x1080";
65const AVCaptureSessionPreset AVCaptureSessionPreset1280x720 = @"AVCaptureSessionPreset1280x720";
66const AVCaptureSessionPreset AVCaptureSessionPreset960x540 = @"AVCaptureSessionPreset960x540";
67const AVCaptureSessionPreset AVCaptureSessionPreset640x480 = @"AVCaptureSessionPreset640x480";
68const AVCaptureSessionPreset AVCaptureSessionPreset352x288 = @"AVCaptureSessionPreset352x288";
69const AVCaptureSessionPreset AVCaptureSessionPreset320x240 = @"AVCaptureSessionPreset320x240";
70const AVCaptureSessionPreset AVCaptureSessionPresetiFrame1280x720 = @"AVCaptureSessionPresetiFrame1280x720";
71const AVCaptureSessionPreset AVCaptureSessionPresetiFrame960x540 = @"AVCaptureSessionPresetiFrame960x540";
72const AVCaptureSessionPreset AVCaptureSessionPresetHigh = @"AVCaptureSessionPresetHigh";
73const AVCaptureSessionPreset AVCaptureSessionPresetLow = @"AVCaptureSessionPresetLow";
74const AVCaptureSessionPreset AVCaptureSessionPresetMedium = @"AVCaptureSessionPresetMedium";
75
76const NSErrorDomain AVFoundationErrorDomain = @"AVFoundationErrorDomain";
77
78const AVFileType AVFileTypeMPEG4 = @"public.mpeg-4";
79const AVFileType AVFileTypeQuickTimeMovie = @"com.apple.quicktime-movie";
80
81const AVLayerVideoGravity AVLayerVideoGravityResize = @"AVLayerVideoGravityResize";
82const AVLayerVideoGravity AVLayerVideoGravityResizeAspect = @"AVLayerVideoGravityResizeAspect";
83const AVLayerVideoGravity AVLayerVideoGravityResizeAspectFill = @"AVLayerVideoGravityResizeAspectFill";
84
85const AVMediaType AVMediaTypeAudio = @"soun";
86const AVMediaType AVMediaTypeVideo = @"vide";