peachsim 0.1.1949 → 0.1.1951
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +76 -27
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +49 -18
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +76 -27
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +2 -2
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +2 -2
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +76 -27
- package/dist-lib/swift-compile.cjs +5 -5
- package/dist-lib/swift-compile.mjs +5 -5
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +14 -6
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +3 -0
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Headers/AUAudioUnit.h +1 -0
- package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Headers/AUAudioUnitImplementation.h +1 -0
- package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Headers/AUComponent.h +1 -0
- package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Headers/AUParameters.h +1 -0
- package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Headers/AudioCodec.h +1 -0
- package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Headers/AudioComponent.h +1 -0
- package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Headers/AudioOutputUnit.h +1 -0
- package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h +25 -0
- package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnitParameters.h +1 -0
- package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnitProperties.h +1 -0
- package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Headers/MusicDevice.h +1 -0
- package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h +17 -0
- package/sdk/ios/System/Library/Frameworks/ReplayKit.framework/Headers/RPBroadcast.h +192 -0
- package/sdk/ios/System/Library/Frameworks/ReplayKit.framework/Headers/RPBroadcastConfiguration.h +28 -0
- package/sdk/ios/System/Library/Frameworks/ReplayKit.framework/Headers/RPBroadcastExtension.h +154 -0
- package/sdk/ios/System/Library/Frameworks/ReplayKit.framework/Headers/RPError.h +56 -0
- package/sdk/ios/System/Library/Frameworks/ReplayKit.framework/Headers/RPPreviewViewController.h +52 -0
- package/sdk/ios/System/Library/Frameworks/ReplayKit.framework/Headers/RPScreenRecorder.h +150 -0
- package/sdk/ios/System/Library/Frameworks/ReplayKit.framework/Headers/ReplayKit.h +20 -0
- package/sdk/ios/System/Library/Frameworks/ReplayKit.framework/Modules/module.modulemap +6 -0
- package/src/expo-native-workspace.ts +0 -2
- package/src/expo-swift-host.ts +15 -1
- package/src/installed-native-libraries.ts +5 -1
- package/src/native-static-libraries.ts +8 -0
- package/src/nitro-adapter.lock.json +264 -264
- package/src/nitro-superset.lock.json +4 -4
- package/src/react-native-bridge-modules.ts +27 -6
- package/src/swift-distribution.lock.json +11 -11
- package/src/swift-guest-link.ts +8 -3
- package/src/turbo-codegen-intake.ts +1 -0
- package/src/turbo-runtime.lock.json +22 -22
- package/src/turbo-source.ts +24 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1951 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -8962,11 +8962,11 @@ function linkGuestImages(options) {
|
|
|
8962
8962
|
regions: []
|
|
8963
8963
|
})
|
|
8964
8964
|
);
|
|
8965
|
-
const
|
|
8965
|
+
const ledgerPieces = guestProjectionRegionCapacity([import_node_fs13.default.readFileSync(ledgerObject)], 0);
|
|
8966
8966
|
const capacities = ledger.images.map((image) => ({
|
|
8967
8967
|
regions: guestProjectionRegionCapacity(
|
|
8968
|
-
|
|
8969
|
-
images.length + 2
|
|
8968
|
+
image.objects.map((object3) => object3.bytes),
|
|
8969
|
+
1 + ledger.callerWrappers.filter((wrapper) => wrapper.image === image.id).length + (image.id === options.ledgerDataImage ? ledgerPieces : 0) + (image.id === projection.image ? images.length + 2 : 0)
|
|
8970
8970
|
),
|
|
8971
8971
|
memoryProtection: projection.memoryProtection,
|
|
8972
8972
|
tableProtection: projection.tableProtection
|
|
@@ -12134,7 +12134,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12134
12134
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12135
12135
|
var MULTI_MANIFEST_VERSION = 66;
|
|
12136
12136
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12137
|
-
var compilerSourceDigest = true ? "
|
|
12137
|
+
var compilerSourceDigest = true ? "c9b71c433be7ae053bbb1d90b472879548fd556755c05d2d299263c9ef325815" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
12138
12138
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12139
12139
|
const hash = (0, import_node_crypto12.createHash)("sha256");
|
|
12140
12140
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1951 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import {
|
|
@@ -8911,11 +8911,11 @@ function linkGuestImages(options) {
|
|
|
8911
8911
|
regions: []
|
|
8912
8912
|
})
|
|
8913
8913
|
);
|
|
8914
|
-
const
|
|
8914
|
+
const ledgerPieces = guestProjectionRegionCapacity([fs5.readFileSync(ledgerObject)], 0);
|
|
8915
8915
|
const capacities = ledger.images.map((image) => ({
|
|
8916
8916
|
regions: guestProjectionRegionCapacity(
|
|
8917
|
-
|
|
8918
|
-
images.length + 2
|
|
8917
|
+
image.objects.map((object3) => object3.bytes),
|
|
8918
|
+
1 + ledger.callerWrappers.filter((wrapper) => wrapper.image === image.id).length + (image.id === options.ledgerDataImage ? ledgerPieces : 0) + (image.id === projection.image ? images.length + 2 : 0)
|
|
8919
8919
|
),
|
|
8920
8920
|
memoryProtection: projection.memoryProtection,
|
|
8921
8921
|
tableProtection: projection.tableProtection
|
|
@@ -12110,7 +12110,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12110
12110
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12111
12111
|
var MULTI_MANIFEST_VERSION = 66;
|
|
12112
12112
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12113
|
-
var compilerSourceDigest = true ? "
|
|
12113
|
+
var compilerSourceDigest = true ? "c9b71c433be7ae053bbb1d90b472879548fd556755c05d2d299263c9ef325815" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
12114
12114
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12115
12115
|
const hash = createHash13("sha256");
|
|
12116
12116
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1951 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1951 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1951 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1951 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1951 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -13409,11 +13409,11 @@ function linkGuestImages(options) {
|
|
|
13409
13409
|
regions: []
|
|
13410
13410
|
})
|
|
13411
13411
|
);
|
|
13412
|
-
const
|
|
13412
|
+
const ledgerPieces = guestProjectionRegionCapacity([import_node_fs14.default.readFileSync(ledgerObject)], 0);
|
|
13413
13413
|
const capacities = ledger.images.map((image) => ({
|
|
13414
13414
|
regions: guestProjectionRegionCapacity(
|
|
13415
|
-
|
|
13416
|
-
images.length + 2
|
|
13415
|
+
image.objects.map((object4) => object4.bytes),
|
|
13416
|
+
1 + ledger.callerWrappers.filter((wrapper) => wrapper.image === image.id).length + (image.id === options.ledgerDataImage ? ledgerPieces : 0) + (image.id === projection.image ? images.length + 2 : 0)
|
|
13417
13417
|
),
|
|
13418
13418
|
memoryProtection: projection.memoryProtection,
|
|
13419
13419
|
tableProtection: projection.tableProtection
|
|
@@ -16447,7 +16447,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
16447
16447
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16448
16448
|
var MULTI_MANIFEST_VERSION = 66;
|
|
16449
16449
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16450
|
-
var compilerSourceDigest = true ? "
|
|
16450
|
+
var compilerSourceDigest = true ? "c9b71c433be7ae053bbb1d90b472879548fd556755c05d2d299263c9ef325815" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
16451
16451
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16452
16452
|
const hash = (0, import_node_crypto12.createHash)("sha256");
|
|
16453
16453
|
hash.update(`swift-compile
|
|
@@ -29615,7 +29615,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
29615
29615
|
return hash.digest("hex");
|
|
29616
29616
|
}
|
|
29617
29617
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
29618
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
29618
|
+
var STANDIN_SOURCE_DIGEST = true ? "ba6cce1103ee08642e863b4a702b83e9e8d6deffec60023d6535ec128b518a67" : standinSourceDigest();
|
|
29619
29619
|
|
|
29620
29620
|
// src/swift-standins.ts
|
|
29621
29621
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -29778,6 +29778,14 @@ function simulatorNativeLibrary(dir) {
|
|
|
29778
29778
|
|
|
29779
29779
|
// src/native-static-libraries.ts
|
|
29780
29780
|
var NATIVE_STATIC_LIBRARY_RECIPES = [
|
|
29781
|
+
// react-native-libsodium's minimal apple build of the 1.0.20 release
|
|
29782
|
+
{
|
|
29783
|
+
name: "libsodium",
|
|
29784
|
+
nativeSha256: "4e5112bdb787a4305ddb8e464a129d4f002c2f0be5a62eb541b5122b769fc17a",
|
|
29785
|
+
upstream: "ebb65ef6ca439333c2bb41a0c1990587288da07f6c7fd07cb3a18cc18d30ce19",
|
|
29786
|
+
recipe: "c164067cbb87998d0539ac88e73fea0bdacc81a9ac8f8e92ac577c957581f626",
|
|
29787
|
+
archive: "libsodium.a"
|
|
29788
|
+
},
|
|
29781
29789
|
{
|
|
29782
29790
|
name: "moonshine_core",
|
|
29783
29791
|
nativeSha256: "474dff8315a8e4d3a6fdd9f89c7264c79c5f84a5b9acbfdfb9fb0ee68d8c801e",
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1951 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1951 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -930,6 +930,9 @@ export type NativeUIEvent = import('../capture/nativeScreenCaptureContract.d.ts'
|
|
|
930
930
|
} | {
|
|
931
931
|
kind: 'keyboard.layout';
|
|
932
932
|
layout: KeyboardLayoutSnapshot;
|
|
933
|
+
} | {
|
|
934
|
+
kind: 'keyboard.focusedInputLayout';
|
|
935
|
+
focusedInput: FocusedInputLayout | null;
|
|
933
936
|
} | {
|
|
934
937
|
kind: 'keyboard.selection';
|
|
935
938
|
target: number;
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#include <AudioToolbox/AUAudioUnit.h>
|
package/sdk/ios/System/Library/Frameworks/AudioUnit.framework/Headers/AUAudioUnitImplementation.h
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#include <AudioToolbox/AUAudioUnitImplementation.h>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#include <AudioToolbox/AUComponent.h>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#include <AudioToolbox/AUParameters.h>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#include <AudioToolbox/AudioCodec.h>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#include <AudioToolbox/AudioComponent.h>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#include <AudioToolbox/AudioOutputUnit.h>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Umbrella header for AudioUnit.framework
|
|
2
|
+
// Deprecated: Use AudioToolbox
|
|
3
|
+
|
|
4
|
+
#ifndef AudioUnit_AudioUnit_h
|
|
5
|
+
#define AudioUnit_AudioUnit_h
|
|
6
|
+
|
|
7
|
+
#ifndef AUDIO_UNIT_VERSION
|
|
8
|
+
#define AUDIO_UNIT_VERSION 1070
|
|
9
|
+
#endif
|
|
10
|
+
|
|
11
|
+
#include <AudioUnit/AUComponent.h>
|
|
12
|
+
#include <AudioUnit/AudioCodec.h>
|
|
13
|
+
#include <AudioUnit/AudioComponent.h>
|
|
14
|
+
#include <AudioUnit/AudioOutputUnit.h>
|
|
15
|
+
#include <AudioUnit/AudioUnitParameters.h>
|
|
16
|
+
#include <AudioUnit/AudioUnitProperties.h>
|
|
17
|
+
#include <AudioUnit/MusicDevice.h>
|
|
18
|
+
|
|
19
|
+
#ifdef __OBJC2__
|
|
20
|
+
#include <AudioUnit/AUAudioUnit.h>
|
|
21
|
+
#include <AudioUnit/AUAudioUnitImplementation.h>
|
|
22
|
+
#include <AudioUnit/AUParameters.h>
|
|
23
|
+
#endif // __OBJC2__
|
|
24
|
+
|
|
25
|
+
#endif // AudioUnit_AudioUnit_h
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#include <AudioToolbox/AudioUnitParameters.h>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#include <AudioToolbox/AudioUnitProperties.h>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#include <AudioToolbox/MusicDevice.h>
|
|
@@ -9,4 +9,21 @@ CF_EXTERN_C_BEGIN
|
|
|
9
9
|
CFN_EXPORT const CFStringRef kCFStreamPropertySSLPeerTrust CF_AVAILABLE(10_5, 2_0);
|
|
10
10
|
CFN_EXPORT const CFStringRef kCFStreamSSLValidatesCertificateChain CF_AVAILABLE(10_4, 2_0);
|
|
11
11
|
CFN_EXPORT const CFStringRef kCFStreamPropertySSLSettings CF_AVAILABLE(10_4, 2_0);
|
|
12
|
+
CFN_EXPORT const CFStringRef kCFStreamSSLLevel CF_AVAILABLE(10_4, 2_0);
|
|
13
|
+
CFN_EXPORT const CFStringRef kCFStreamSSLPeerName CF_AVAILABLE(10_4, 2_0);
|
|
14
|
+
CFN_EXPORT const CFStringRef kCFStreamSSLCertificates CF_AVAILABLE(10_4, 2_0);
|
|
15
|
+
CFN_EXPORT const CFStringRef kCFStreamSSLIsServer CF_AVAILABLE(10_4, 2_0);
|
|
16
|
+
CFN_EXPORT const CFStringRef kCFStreamNetworkServiceType CF_AVAILABLE(10_7, 4_0);
|
|
17
|
+
CFN_EXPORT const CFStringRef kCFStreamNetworkServiceTypeVideo CF_AVAILABLE(10_7, 5_0);
|
|
18
|
+
CFN_EXPORT const CFStringRef kCFStreamNetworkServiceTypeVoice CF_AVAILABLE(10_7, 5_0);
|
|
19
|
+
CFN_EXPORT const CFStringRef kCFStreamNetworkServiceTypeBackground CF_AVAILABLE(10_7, 5_0);
|
|
20
|
+
CFN_EXPORT const CFStringRef kCFStreamNetworkServiceTypeResponsiveData __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_6_0);
|
|
21
|
+
CFN_EXPORT const CFStringRef kCFStreamNetworkServiceTypeCallSignaling CF_AVAILABLE(10_12, 10_0);
|
|
22
|
+
CFN_EXPORT const CFStringRef kCFStreamNetworkServiceTypeAVStreaming __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_6_0);
|
|
23
|
+
CFN_EXPORT const CFStringRef kCFStreamNetworkServiceTypeResponsiveAV __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_6_0);
|
|
24
|
+
CFN_EXPORT const CFStringRef kCFStreamNetworkServiceTypeVoIP CF_DEPRECATED(10_7, 10_11, 4_0, 9_0, "use PushKit for VoIP control purposes");
|
|
25
|
+
CFN_EXPORT const CFStringRef kCFStreamPropertySSLPeerCertificates CF_DEPRECATED(10_4, 10_6, 2_0, 4_0);
|
|
26
|
+
CFN_EXPORT const CFStringRef kCFStreamSSLAllowsExpiredCertificates CF_DEPRECATED(10_4, 10_6, 2_0, 4_0);
|
|
27
|
+
CFN_EXPORT const CFStringRef kCFStreamSSLAllowsExpiredRoots CF_DEPRECATED(10_4, 10_6, 2_0, 4_0);
|
|
28
|
+
CFN_EXPORT const CFStringRef kCFStreamSSLAllowsAnyRoot CF_DEPRECATED(10_4, 10_6, 2_0, 4_0);
|
|
12
29
|
CF_EXTERN_C_END
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
//
|
|
2
|
+
// RPBroadcast.h
|
|
3
|
+
// ReplayKit
|
|
4
|
+
//
|
|
5
|
+
// The following guidelines can be followed to add broadcasting capabilities to an application:
|
|
6
|
+
//
|
|
7
|
+
// Use the RPScreenRecorder singleton to enable the microphone and front-facing camera recording.
|
|
8
|
+
//
|
|
9
|
+
// Load an instance of RPBroadcastActivityViewController and present it when the user intends to start broadcasting. This will present a view controller thats allows the user to select from the broadcast servies available on the device. Selecting a broadcast service presents the service’s UI to the user and allows the user to sign-in and setup their broadcast.
|
|
10
|
+
//
|
|
11
|
+
// Once setup with the service is complete, an RPBroadcastController instance will be provided via the RPBroadcastActivityViewControllerDelegate protocol. This controller can be used to start, pause and finish the broadcast.
|
|
12
|
+
//
|
|
13
|
+
// RPBroadcastController will have an NSDictionary instance in its serviceInfo property which will contain a URL to their broadcast (which can be provided to the user to share prior to starting a broadcast), as well as other optional meta data the service may wish to provide.
|
|
14
|
+
//
|
|
15
|
+
// Copyright © 2016 Apple Inc. All rights reserved.
|
|
16
|
+
//
|
|
17
|
+
#include <TargetConditionals.h>
|
|
18
|
+
|
|
19
|
+
#if TARGET_OS_OSX
|
|
20
|
+
#import <AppKit/AppKit.h>
|
|
21
|
+
#endif
|
|
22
|
+
|
|
23
|
+
#if !TARGET_OS_OSX
|
|
24
|
+
#import <UIKit/UIKit.h>
|
|
25
|
+
#endif
|
|
26
|
+
|
|
27
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
28
|
+
|
|
29
|
+
@protocol RPBroadcastActivityViewControllerDelegate;
|
|
30
|
+
@protocol RPBroadcastControllerDelegate;
|
|
31
|
+
@class RPBroadcastController;
|
|
32
|
+
|
|
33
|
+
#if TARGET_OS_OSX
|
|
34
|
+
API_DEPRECATED("No longer supported", macos(11.0, 27.0))
|
|
35
|
+
|
|
36
|
+
/*!
|
|
37
|
+
@abstract RPBroadcastActivityControllerDelegate is used to notify the caller when the user has finshed with the RPBroadcastActivityController's picker.
|
|
38
|
+
*/
|
|
39
|
+
@protocol RPBroadcastActivityControllerDelegate;
|
|
40
|
+
|
|
41
|
+
API_DEPRECATED("No longer supported", macos(11.0, 27.0))
|
|
42
|
+
/*!
|
|
43
|
+
@class RPBroadcastActivityController
|
|
44
|
+
@abstract Controller object that allows clients to present the macOS broadcast picker and returns the RPBroadcastController object that controls broadcast functionality.
|
|
45
|
+
*/
|
|
46
|
+
@interface RPBroadcastActivityController : NSObject
|
|
47
|
+
/*!
|
|
48
|
+
@abstract Shows the broadcast picker at specified origin point from specified application window. Loads a RPBroadcastActivityController instance and returns it in the handler block. Calling this will present a macOS picker with a list of available broadcast services for the user to select and return the the RPBroadcastActivityController object. Note, the origin point represent the top left hand corner position of the picker that will be displayed. Upon completion of the picker, the picker object will be automatically dismissed and the delegate's broadcastActivityController:didFinishWithBroadcastController:error: will be called.
|
|
49
|
+
@param point origin point where (0,0) is the bottom left of the specified application window
|
|
50
|
+
@param window application window presenting the picker. nil specifies the picker is presented from the application main window.
|
|
51
|
+
@param preferredExtension The extension bundle identifier for the preferred broadcast extension service. nil specifies all extensions will be shown.
|
|
52
|
+
@discussion The handler will be called after the user us finished with the picker and has finish setting up the broadcast extension, which will provide an instance of RPBroadcastAcvityController and an error if one occured.
|
|
53
|
+
*/
|
|
54
|
+
+ (void)showBroadcastPickerAtPoint:(CGPoint)point fromWindow:(NSWindow *_Nullable)window preferredExtensionIdentifier:(NSString *_Nullable)preferredExtension completionHandler:(void (^)(RPBroadcastActivityController *_Nullable broadcastActivityController, NSError *_Nullable error))handler API_DEPRECATED("No longer supported", macos(11.0, 27.0));
|
|
55
|
+
|
|
56
|
+
/*!
|
|
57
|
+
@abstract Delegate that is notified when the activity view controller is complete.
|
|
58
|
+
*/
|
|
59
|
+
@property (nonatomic, weak, nullable) id<RPBroadcastActivityControllerDelegate> delegate;
|
|
60
|
+
|
|
61
|
+
@end
|
|
62
|
+
|
|
63
|
+
API_DEPRECATED("No longer supported", macos(11.0, 27.0))
|
|
64
|
+
@protocol RPBroadcastActivityControllerDelegate <NSObject>
|
|
65
|
+
|
|
66
|
+
/* @abstract Called when the controller is finished.
|
|
67
|
+
@param broadcastActivityController The controller instance.
|
|
68
|
+
@param broadcastController An RPBroadcastController instance that can be used to start and stop broadcasts to a user selected service.
|
|
69
|
+
@param error Optional error in the RPRecordingErrorCode domain. A nil error signifies that the user has successfully set up the broadcast with a broadcast service and is ready to start broadcasting.
|
|
70
|
+
*/
|
|
71
|
+
- (void)broadcastActivityController:(RPBroadcastActivityController *)broadcastActivityController didFinishWithBroadcastController:(nullable RPBroadcastController *)broadcastController error:(nullable NSError *)error API_DEPRECATED("No longer supported", macos(11.0, 27.0));
|
|
72
|
+
@end
|
|
73
|
+
#endif
|
|
74
|
+
|
|
75
|
+
#if !TARGET_OS_OSX
|
|
76
|
+
/*! @class RPBroadcastActivityViewController
|
|
77
|
+
@abstract View controller that presents the user with a list of broadcast services installed on the device.
|
|
78
|
+
*/
|
|
79
|
+
API_DEPRECATED("No longer supported", ios(10.0, 27.0), tvos(10.0, 27.0))
|
|
80
|
+
PEACH_SWIFT_CLASS(ReplayKit) @interface RPBroadcastActivityViewController : UIViewController
|
|
81
|
+
|
|
82
|
+
/* @abstract Loads a RPBroadcastActivityViewController instance and returns it in the handler block.
|
|
83
|
+
|
|
84
|
+
The view controller will present the user with a list of broadcast services available on the device and allow the user to set up a broadcast with the service through the service's UI.
|
|
85
|
+
|
|
86
|
+
The RPBroadcastActivityViewController can be presented using [UIViewController presentViewController:animated:completion:] and should be dismissed when the delegate's broadcastActivityViewController:didFinishWithBroadcastController:error: method is called. Note that on large screen devices such as iPad, the default presentation style for view controllers is a popover. For an instance of RPBroadcastActivityViewController to present properly on iPad, it needs to have its popoverPresentationController's sourceRect and sourceView configured.
|
|
87
|
+
|
|
88
|
+
@param broadcastActivityViewController The RPBroadcastActivityViewController which can be presented.
|
|
89
|
+
@param error Optional error in the RPRecordingErrorCode domain which is supplied in the event the view controller could not be loaded.
|
|
90
|
+
*/
|
|
91
|
+
+ (void)loadBroadcastActivityViewControllerWithHandler:(void (^)(RPBroadcastActivityViewController *_Nullable broadcastActivityViewController, NSError *_Nullable error))handler;
|
|
92
|
+
|
|
93
|
+
/* @abstract Loads a RPBroadcastActivityViewController instance and returns it in the handler block.
|
|
94
|
+
|
|
95
|
+
The view controller will present the user with a view that shows the preferred streaming extension service and allow the user to set up a broadcast with the service through the service's UI.
|
|
96
|
+
|
|
97
|
+
The RPBroadcastActivityViewController can be presented using [UIViewController presentViewController:animated:completion:] and should be dismissed when the delegate's broadcastActivityViewController:didFinishWithBroadcastController:error: method is called. Note that on large screen devices such as iPad, the default presentation style for view controllers is a popover. For an instance of RPBroadcastActivityViewController to present properly on iPad, it needs to have its popoverPresentationController's sourceRect and sourceView configured.
|
|
98
|
+
|
|
99
|
+
@param preferredExtension The extension bundle identifier for the preferred broadcast extension service
|
|
100
|
+
@param broadcastActivityViewController The RPBroadcastActivityViewController which can be presented, returns nil if ther eis no matching extension.
|
|
101
|
+
@param error Optional error in the RPRecordingErrorCode domain which is supplied in the event the view controller could not be loaded.
|
|
102
|
+
*/
|
|
103
|
+
+ (void)loadBroadcastActivityViewControllerWithPreferredExtension:(NSString *_Nullable)preferredExtension handler:(nonnull void (^)(RPBroadcastActivityViewController *_Nullable broadcastActivityViewController, NSError *_Nullable error))handler API_DEPRECATED("No longer supported", ios(11.0, 27.0)) API_UNAVAILABLE(tvos);
|
|
104
|
+
|
|
105
|
+
/* @abstract Delegate that is notified when the activity view controller is complete. */
|
|
106
|
+
@property (nonatomic, weak, nullable) id<RPBroadcastActivityViewControllerDelegate> delegate;
|
|
107
|
+
@end
|
|
108
|
+
|
|
109
|
+
API_DEPRECATED("No longer supported", ios(10.0, 27.0), tvos(10.0, 27.0))
|
|
110
|
+
@protocol RPBroadcastActivityViewControllerDelegate <NSObject>
|
|
111
|
+
|
|
112
|
+
/* @abstract Called when the view controller is finished.
|
|
113
|
+
@param broadcastActivityViewController The view controller instance.
|
|
114
|
+
@param broadcastController An RPBroadcastController instance that can be used to start and stop broadcasts to a user selected service.
|
|
115
|
+
@param error Optional error in the RPRecordingErrorCode domain. A nil error signifies that the user has successfully set up the broadcast with a broadcast service and is ready to start broadcasting.
|
|
116
|
+
*/
|
|
117
|
+
- (void)broadcastActivityViewController:(RPBroadcastActivityViewController *)broadcastActivityViewController didFinishWithBroadcastController:(nullable RPBroadcastController *)broadcastController error:(nullable NSError *)error API_DEPRECATED("No longer supported", ios(10.0, 27.0), tvos(10.0, 27.0));
|
|
118
|
+
@end
|
|
119
|
+
#endif
|
|
120
|
+
|
|
121
|
+
/*! @class RPBroadcastController
|
|
122
|
+
@abstract Available once a user has successfully initiated a broadcast using an RPBroadcastActivityViewController. Can be used to start, pause and stop a broadcast.
|
|
123
|
+
*/
|
|
124
|
+
API_DEPRECATED("No longer supported", ios(10.0, 27.0), tvos(10.0, 27.0), macos(11.0, 27.0))
|
|
125
|
+
PEACH_SWIFT_CLASS(ReplayKit) @interface RPBroadcastController : NSObject
|
|
126
|
+
/* @abstract Indicates whether the controller is currently broadcasting. */
|
|
127
|
+
@property (nonatomic, readonly, getter = isBroadcasting) BOOL broadcasting;
|
|
128
|
+
/* @abstract Indicates whether the controller is currently paused. */
|
|
129
|
+
@property (nonatomic, readonly, getter = isPaused) BOOL paused;
|
|
130
|
+
/* @abstract URL that can be used to redirect the user to the on-going or completed broadcast. */
|
|
131
|
+
@property (nonatomic, readonly) NSURL *broadcastURL;
|
|
132
|
+
/* @abstract Dictionary updated by the service during a broadcast. The keys and values of this dictionary are defined by the broadcast service. KVO observable. */
|
|
133
|
+
@property (nonatomic, readonly, nullable) NSDictionary <NSString *, NSObject <NSCoding> *> *serviceInfo;
|
|
134
|
+
/* @abstract Delegate which will be notified when an error occurs during broadcast. */
|
|
135
|
+
@property (nonatomic, weak) id<RPBroadcastControllerDelegate> delegate;
|
|
136
|
+
/* @abstract bundleID of the broadcast extension which was selected by the user. */
|
|
137
|
+
@property (nullable, nonatomic, readonly) NSString *broadcastExtensionBundleID API_DEPRECATED("No longer supported", ios(10.0, 11.0), tvos(10.0, 11.0)) API_UNAVAILABLE(macos);
|
|
138
|
+
/* @abstract Start the broadcast.
|
|
139
|
+
@param error Optional error in the RPRecordingErrorCode domain. A nil error signifies that broadcasting has started successfully.
|
|
140
|
+
*/
|
|
141
|
+
- (void)startBroadcastWithHandler:(void (^)(NSError *_Nullable error))handler;
|
|
142
|
+
|
|
143
|
+
/* @abstract Pause the broadcast. The broadcast will pause immediately. */
|
|
144
|
+
- (void)pauseBroadcast;
|
|
145
|
+
|
|
146
|
+
/* @abstract Resumes the broadcast. The broadcast will resume immediately. */
|
|
147
|
+
- (void)resumeBroadcast;
|
|
148
|
+
|
|
149
|
+
/* @abstract Finish the broadcast.
|
|
150
|
+
@param error Optional error in the RPRecordingErrorCode domain. A nil error signifies that broadcasting has finished successfully.
|
|
151
|
+
*/
|
|
152
|
+
- (void)finishBroadcastWithHandler:(void (^)(NSError *_Nullable error))handler;
|
|
153
|
+
@end
|
|
154
|
+
|
|
155
|
+
API_DEPRECATED("No longer supported", ios(10.0, 27.0), tvos(10.0, 27.0), macos(11.0, 27.0))
|
|
156
|
+
@protocol RPBroadcastControllerDelegate <NSObject>
|
|
157
|
+
@optional
|
|
158
|
+
|
|
159
|
+
/* @abstract Called when broadcasting finishes due to an error.
|
|
160
|
+
@param broadcastController The controller instance.
|
|
161
|
+
@param error Required error in the RPRecordingErrorCode domain.
|
|
162
|
+
*/
|
|
163
|
+
|
|
164
|
+
- (void)broadcastController:(RPBroadcastController *)broadcastController didFinishWithError:(nullable NSError *)error;
|
|
165
|
+
/* @abstract Called when the broadcast service has data to pass back to broadcasting app.
|
|
166
|
+
@param broadcastController The controller instance.
|
|
167
|
+
@param serviceInfo NSDictionary instance with keys and values defined by the broadcasting service.
|
|
168
|
+
*/
|
|
169
|
+
- (void)broadcastController:(RPBroadcastController *)broadcastController didUpdateServiceInfo:(NSDictionary <NSString *, NSObject <NSCoding> *> *)serviceInfo;
|
|
170
|
+
|
|
171
|
+
/* @abstract Called when the broadcast service has updated broadcastURL.
|
|
172
|
+
@param broadcastController The controller instance.
|
|
173
|
+
@param broadcastURL NSURL instance with URL of the resource where broacast can be viewed. Defined by broadcast service.
|
|
174
|
+
*/
|
|
175
|
+
- (void)broadcastController:(RPBroadcastController *)broadcastController didUpdateBroadcastURL:(NSURL *)broadcastURL API_DEPRECATED("No longer supported", ios(11.0, 27.0), tvos(11.0, 27.0));
|
|
176
|
+
@end
|
|
177
|
+
|
|
178
|
+
#if !TARGET_OS_OSX
|
|
179
|
+
/*! @class RPSystemBroadcastPickerView
|
|
180
|
+
@abstract View that presents the user with a button for starting iOS system broadcast using preferred broadcast service.
|
|
181
|
+
*/
|
|
182
|
+
API_DEPRECATED("Use ScreenCaptureKit SCContentSharingPicker instead", ios(12.0, 27.0))
|
|
183
|
+
API_UNAVAILABLE(tvos, macos)
|
|
184
|
+
PEACH_SWIFT_CLASS(ReplayKit) @interface RPSystemBroadcastPickerView : UIView <NSCoding>
|
|
185
|
+
/* @abstract Bundle identifier of extension that should be used for broadcast. Default is nil which means that all extensions will be presented */
|
|
186
|
+
@property (nonatomic, strong, nullable) NSString *preferredExtension;
|
|
187
|
+
/* @abstract Indicates whether the Microphone button is visible in broadcast picker view. Default is YES. */
|
|
188
|
+
@property (nonatomic, assign) BOOL showsMicrophoneButton;
|
|
189
|
+
@end
|
|
190
|
+
#endif
|
|
191
|
+
|
|
192
|
+
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/ReplayKit.framework/Headers/RPBroadcastConfiguration.h
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//
|
|
2
|
+
// RPBroadcastConfiguration.h
|
|
3
|
+
// ReplayKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2016 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
#if !TARGET_OS_OSX
|
|
11
|
+
|
|
12
|
+
API_DEPRECATED("No longer supported", ios(10.0, 11.0), tvos(10.0, 11.0))
|
|
13
|
+
|
|
14
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
15
|
+
|
|
16
|
+
PEACH_SWIFT_CLASS(ReplayKit) @interface RPBroadcastConfiguration : NSObject <NSCoding, NSSecureCoding>
|
|
17
|
+
|
|
18
|
+
/* @abstract Specify the duration of a movie clip before it is delivered to the movie clip handler extension. Default is 5 seconds. */
|
|
19
|
+
@property (nonatomic, assign) NSTimeInterval clipDuration;
|
|
20
|
+
|
|
21
|
+
/* @abstract Override the video compression properties used to encode movie clips. See AVVideoCompressionPropertiesKey in <AVFoundation/AVVideoSettings.h> for available properties. */
|
|
22
|
+
@property (nonatomic, strong, nullable) NSDictionary <NSString *, NSObject <NSCoding, NSSecureCoding> *> *videoCompressionProperties;
|
|
23
|
+
|
|
24
|
+
@end
|
|
25
|
+
|
|
26
|
+
NS_ASSUME_NONNULL_END
|
|
27
|
+
|
|
28
|
+
#endif // !TARGET_OS_OSX
|