Skip to content

feat(carplay): browse and play subscribed videos - #37

Draft
PixPMusic wants to merge 1 commit into
mainfrom
feat/carplay-video
Draft

PixPMusic wants to merge 1 commit into
mainfrom
feat/carplay-video

Conversation

@PixPMusic

@PixPMusic PixPMusic commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

What changed and why

Slipstream has no CarPlay browsing scene. Add native creator → post → video lists with paginated feeds and accessible video attachments, plus a scene-owned AVPlayer and Now Playing controls. Video rows use CPPlaybackConfiguration to request system video presentation; CarPlay controls video availability and audio fallback. Apple documents CarPlay media apps as the supported route to HomeView: https://developer.apple.com/carplay/.

Share the iPhone account model and coalesce initial session restoration. Reset CarPlay content on account changes, cancel pending selections on disconnect, release its media item, and coordinate playback focus with phone post/live players. Register the scene and video entitlement in the iOS project, regenerate XcodeGen output, and document setup and remaining checks. Mac keeps its own model. Targets main independently.

Draft / runtime verification pending: Apple approved CarPlay Video and it is now enabled on the existing App ID. On November 9, ./scripts/build.sh ios-device -allowProvisioningUpdates succeeded with a refreshed development profile. Both the signed app and embedded profile contain com.apple.developer.carplay-video; the original app identifier and Keychain group remain intact, and the profile includes the test iPhone. Distribution provisioning is not yet reverified. No physical-device installation has been performed.

Verification

  • swift test: all 24 tests passed. Two new synthetic tests cover video attachment order/access and text-only/locked posts. Confirmed they fail to compile on the base, where the video-only selection API is absent.
  • ./scripts/build.sh ios ONLY_ACTIVE_ARCH=YES ARCHS=arm64: passed on Xcode 27.2.
  • ./scripts/build.sh macos --ad-hoc: passed. Mac runtime was not exercised.
  • xcodebuild -project Slipstream.xcodeproj -scheme Slipstream-iOS -configuration Release -destination 'generic/platform=iOS' -derivedDataPath build-ios-device -jobs 2 CODE_SIGNING_ALLOWED=NO build: passed. This does not verify device signing or behavior.
  • Signed Debug device build with -allowProvisioningUpdates: passed on November 9. codesign --verify --deep --strict passed; inspected the signed entitlements and embedded development profile.
  • iPhone Air / iOS 26.5 with Xcode 26.6 classic Simulator: CarPlay dashboard rendered at 1920×1080 after a full Air restart. Slipstream remained absent from its grid; a debugger query of CPSessionConfiguration.supportsVideoPlayback returned NO. This is not a video-app runtime pass.
  • git diff --check and plist validation passed. Dependency resolution left the committed lockfile unchanged.
  • iPhone 18 Pro / iOS 27.2 Simulator: the app launched after the scene registration and played bundled demo video. After installing with the configured app identity, the existing account required manual sign-in. The cause is unresolved; saved-session preservation across installation is not established.
  • USB-connected iPhone 12 Pro Max / iOS 27.2: Device Hub's CarPlay simulator connected using Standard Video Playback. No branch build was installed on that phone. This establishes the simulator connection only, not Slipstream's CarPlay behavior.
  • CarPlay browsing/playback, remote commands, video/audio transitions, disconnect/cancellation races, authenticated HLS routing, physical AirPlay, and HomeView remain unverified. iPad/Duo runtime and live-player focus switching remain unchecked. The manual checklist is in docs/CarPlay.md.

Before / after evidence

These matched iPhone demo screenshots show the existing phone library before changes and after the initial integration. They are phone regression captures, not evidence of CarPlay functionality; later lifecycle changes have build checks but no new visual capture.

Phone library before Phone library after initial integration
Before: bundled iPhone demo library After initial integration: bundled iPhone demo library

The original CarPlay display was unavailable before editing. No CarPlay before capture or interaction recording was produced; this remains a review gap, including while this PR is draft. Keep this draft until CarPlay runtime evidence and distribution provisioning are verified. No signed-in account screenshots or device metadata are attached.

Model: GPT-6.1 Sol | Harness: Codex in T3 Code

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant