Skip to content

Commit 61127ea

Browse files
committed
refactor(camera): move simulation feed into daemon
1 parent e13707b commit 61127ea

18 files changed

Lines changed: 628 additions & 644 deletions

File tree

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,11 @@ transport stream.
194194
`stream` writes an Annex B H.264 elementary stream to stdout for diagnostics or
195195
external tools such as `ffplay`.
196196

197-
`camera start` runs a local camera helper, injects the SimDeck camera shim into
198-
the target iOS simulator app, and relaunches that bundle. The source can be a
199-
generated pattern, an absolute image or video path, an `http://`, `https://`, or
200-
`file://` video URL, or a Mac camera selected with `--webcam [id-or-name]`.
197+
`camera start` asks the SimDeck daemon to publish a camera feed, injects the
198+
SimDeck camera shim into the target iOS simulator app, and relaunches that
199+
bundle. The source can be a generated pattern, an absolute image or video path,
200+
an `http://`, `https://`, or `file://` video URL, or a Mac camera selected with
201+
`--webcam [id-or-name]`.
201202
Use the browser menu item **Camera Simulation...** for the same flow from the UI.
202203
Camera simulation is iOS-simulator-only and requires a booted simulator.
203204

cli/camera/SimDeckCameraHelper-Info.plist

Lines changed: 0 additions & 22 deletions
This file was deleted.

cli/camera/SimDeckCameraHelper.entitlements

Lines changed: 0 additions & 8 deletions
This file was deleted.

cli/camera/SimDeckCameraInfo.plist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleIdentifier</key>
6+
<string>dev.nativescript.simdeck</string>
7+
<key>CFBundleName</key>
8+
<string>SimDeck</string>
9+
<key>NSCameraUsageDescription</key>
10+
<string>SimDeck can forward the Mac camera into iOS Simulator apps for local camera testing.</string>
11+
</dict>
12+
</plist>

0 commit comments

Comments
 (0)